function main_icap_access_ruleswitch() { $hostname = $_GET["hostname"]; $squid = new squid($_GET["hostname"]); $squid->icap_restrictions_switch($_GET["SquidIcapAccessSwitchEnable"]); }