cmd_run_stop_aset.php
345 Bytes
<?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"');
}
?>