function del_option_service() { $zmd5 = $_POST["del_option_service"]; $index = $_POST["index"]; $master = new master_cf(0, $_POST["hostname"]); if (!$master->del_command_options($zmd5, $index)) { echo $master->ldap_error; } }
function del_option_service(){ $service=$_GET["del_option_service"]; $index=$_GET["index"]; $master=new master_cf(); if(!$master->del_command_options($service,$index)){ echo $master->ldap_error; } }