Answer the question
In order to leave comments, you need to log in
How to use curl with proxy port 3128 or 8080 or 81?
There are about 300 IPs and they have a random port, I started checking which are working and which are not, in order to sort. I check through the data substituted in Curl and make a request to some site and see if any result is returned.
curl_setopt($ch, CURLOPT_PROXY, '10.10.10.10:80');
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question