Does anyone know of a free and fast php proxy checker script. All it needs to do is determine whether a proxy in the form of IPort is valid or not. Thanks
You can easy write the script: http://us3.php.net/manual/en/function.fsockopen.php. Script for proxy checking will not be fast because it should wait defined time to make sure that proxy is dead.
if ($fp = fsockopen("www.proxy.com", $port, $errno, $errstr, 30)) { echo 'The website is active therefore the proxy is avaliable'; } else { echo 'The website is not active therefore the proxy is not avaliable'; } Code (markup): Remember assign $port the port of the website or replace the variable with an integer