Jump to content

file_get_contents error


april2008

Recommended Posts

Problem solve

 

just add in the code below after curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); to detect the proxy setting

 

curl_setopt($ch, CURLOPT_PROXY, "http://xxx.xxx.xxx.xxx:8080");
curl_setopt($ch, CURLOPT_PROXYPORT, 8080);
curl_setopt ($ch, CURLOPT_PROXYUSERPWD, "username:password"); 

 

thanks everyone :)

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.