Looking for a free PHP proxy checker script

Discussion in 'PHP' started by toolsmith, Feb 9, 2010.

  1. #1
    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 IP:port is valid or not.

    Thanks
     
    toolsmith, Feb 9, 2010 IP
  2. swarg

    swarg Peon

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    swarg, Feb 9, 2010 IP
  3. Brandon.Add.On

    Brandon.Add.On Peon

    Messages:
    178
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    
    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
     
    Brandon.Add.On, Feb 10, 2010 IP