function main_icap_class_delservice_ajax() { $class_name = $_GET["class_name"]; $hostname = $_GET["hostname"]; $index = $_GET["SquidIcapDeleteServiceInClass"]; $squid = new squid($_GET["hostname"]); $squid->icap_del_service_in_class($class_name, $index); }