Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
December 12, 2007, 12:22 pm
rate this thread
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, 'http://xxx.xxx.xxx.xx/xyz.pac ');
but didn't work.
Does curl support automatic proxy configuration? If not, what is the
other way around?
Re: read webpage through automatic configuration proxy
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
JDS Computer Training Corp.