function main_rules_delcategory_weight() { $dans = new dansguardian_rules($_GET["hostname"], $_GET["rule_main"]); $dans->DelCategory_phrase_weight($_GET["DansGuardian_delcategoryWeight"]); }