<?php
$code = $_GET['code'];
if ($code==codice1){
system("cd /usr/lib/cgi-bin");
system("sudo python /home/pi/Desktop/Tank/Tank.py");
}elseif ($code==codice2){
system("cd /usr/lib/cgi-bin");
system("sudo python /home/pi/Desktop/Tank/tank_mysql_r.py");
}
?>