Re: CLI behind proxy
| From: | kranthi | Date: | Thu, 04 Feb 2010 14:19:33 +0000 |
| Subject: | Re: CLI behind proxy | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301816@lists.php.net to get a copy of this message | ||
I did'nt understand completely. But I noticed that if i do
$opts = array('http' => array('proxy' =>
'tcp://10.3.100.212:8080',
'request_fulluri' => true));
$context = stream_context_set_default($opts);
fopen, file_get_contents, etc. are working fine, but fsockopen is not
KK.