<?php
$light = $_POST["light"];
$output = null;
exec('bash ../scripts/led.sh '.$light, $output);
var_dump($output);
?>