1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php /* Commande Autoset */ if(array_key_exists('autoset',$_POST)){ shell_exec('lxi scpi -a '.$adresse.' "aset"'); } /* Commande Run */ if(array_key_exists('run',$_POST)){ shell_exec('lxi scpi -a '.$adresse.' "run"'); } /* Commande Stop */ if(array_key_exists('stop',$_POST)){ shell_exec('lxi scpi -a '.$adresse.' "stop"'); } ?>