Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Why can't cURL manage a connection?

$
0
0

I have a script that tests a compiled list of HTTP proxies to see if they can connect to a specified website. If they connect, and the correct page results are returned, they are added to a list of working proxies; however, even if I test about 30,000 proxies at a time....none of them come back working.

 

Yet, when I check a random selection of them in a proxy checker, quite a large portion of them come back working.

 

3EJxn.png

3EJDo.png

 

Even when I specify the proxy type to HTTP, cURL never manages to make a connection to the webpage and return the webpage contents.

 

Note: I am setting a user-agent.

 

As you can see, no results are returned. The contents of the webpage, if any are retrieved, should be posted in the textbox.

 

3EK4z.png


Viewing all articles
Browse latest Browse all 13200

Trending Articles