Free proxy checker and proxy list filter php scripts

Discussion in 'Proxies' started by maribge, Oct 17, 2009.

  1. maribge

    maribge Junior Member

    Joined:
    May 6, 2007
    Messages:
    106
    Likes Received:
    11
    I guess it's my turn to share something valuable with BHW, so I've decided to give these two little php scripts.

    The filterproxylist.php extracts only IP_address : port pairs from a list of proxies. For example, if you have a list like this:

    81.22.90.226:1080 server support: 4 Algeria
    81.52.166.190:1080 server support: 4 Algeria
    200.61.50.188:1080 server support: 4 Argentina (Buenos Aires)
    201.251.61.70:1080 server support: 4 Argentina (Buenos Aires)
    190.7.20.125:1080 server support: 4 Argentina (Federal)
    203.206.134.18:1080 server support: 4,5 Australia (Brisbane)
    60.231.155.140:1080 server support: 4 Australia (Cleveland)
    203.134.191.115:1080 server support: 4 Australia (Cranbourne)

    it will remove the garbage and convert the list to:

    81.22.90.226:1080
    81.52.166.190:1080
    200.61.50.188:1080
    201.251.61.70:1080
    190.7.20.125:1080
    203.206.134.18:1080
    60.231.155.140:1080
    203.134.191.115:1080

    This is useful when you have to check online proxy lists and don't want to copy/paste each ip address manually to a notepad.

    The aliveproxy.php will go through the list and check if a proxy responds to a connection request. This doesn't guarantee that a detected alive proxy will work though. Some proxies respond, but block requests. However, it'll save your time, since you don't need to go through the dead proxies.
     

    Attached Files:

    • Thanks Thanks x 5
  2. incent

    incent Registered Member

    Joined:
    May 14, 2009
    Messages:
    99
    Likes Received:
    18
    Nice one - exactly what I've been looking for! Cheers dude.
     
  3. precision

    precision Registered Member

    Joined:
    Oct 12, 2009
    Messages:
    50
    Likes Received:
    46
    Location:
    Behind you.
    Nice. This may come in handy one day. A couple users on other proxy forums post that extra info, and it's annoying.
     
  4. Sjors

    Sjors Registered Member

    Joined:
    Jul 5, 2010
    Messages:
    79
    Likes Received:
    7
    Or just open the .txt file in notepad++ and hold alt and filter out the ip's + ports.
     
  5. DeadlyDennis

    DeadlyDennis Newbie

    Joined:
    Jul 6, 2010
    Messages:
    1
    Likes Received:
    0
    Thank you for the share this works amazing