function main_access_rules_delete() { $hostname = $_GET["hostname"]; $squid = new squid($hostname); $squid->Restrictions_Delete($_GET["SquidAccessDelete"], $_GET["index"]); }