"; if ($resolved != $rblhost) { return TRUE; } } } return FALSE; } /** * BOOL $proxy = detect( $addr ) * Start detection and return TRUE if a proxy server is detected... */ function detect($addr){ if ($this->exists_in_rbl($addr) == TRUE) return (TRUE); //nope, no proxy was logged... return FALSE; } } //init class function is_proxy($addr) { $proxy = new ProxyDetector(); //start detect return ($proxy->detect($addr)); } ?>