Ecco la pagina web
<html>
<body bgcolor="#333333">
<center>
<font color="#FFFFFF" size="7">Controllo di un carico</font>
<br><br><br>
<form method="POST">
<input type="submit" name="on" value="ACCENDI" style="font-size : 40px; width: 80%; height: 200px;" />
<br><br><br>
<input type="submit" name="off" value="SPEGNI" style="font-size : 40px; width: 80%; height: 200px;" />
</form>
</center>
</body>
</html>
<?php
if(isset($_POST['on'])) {
system("/home/accendi");
}
if(isset($_POST['off'])) {
system("/home/spegni");
}
?>