maribge
Junior Member
- May 6, 2007
- 106
- 22
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.
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.