dbh_do($query); logevent($ID, "networking", 4, "database", "Port status updated by $IRMName"); header("Location: $HTTP_REFERER"); ?>