exec.php 252 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 <?php echo "<html><body><p>"; if (isset($_POST["button"]) { $resultat = system("sudo python /var/www/cgi-bin/main.py"); } if (isset($_POST["live"]) { $resultat = system("sudo python /var/www/cgi-bin/live.py"); } echo "</p></body></html>"; ?>