read webpage through automatic configuration proxy

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I've a automatic configuration proxy ( )
which I use in the Internet explorer Lan Settings to access the net.

How do I read a webpage by specifying this proxy in my PHP code. By
the by, I'm using curl to read the remote webpage.

I've tried the option
curl_setopt($ch, CURLOPT_PROXY, ' ');
but didn't work.

Does curl support automatic proxy configuration? If not, what is the
other way around?

Thank you,

Re: read webpage through automatic configuration proxy

Rajen wrote:
Quoted text here. Click to load it

RTFM.  CURLOPT_PROXY is the proxy itself, not a configuration file.  
There is no automatic configuration for CURL.  Just set the options you  
need in cURL.  Or, if you have to use the configuration file, simply  
parse it and set the appropriate options.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Site Timeline