Re: [PHP] CLI behind proxy

2010-02-04 Thread Richard Quadling
On 4 February 2010 15:27, kranthi wrote: > stream_socket_client("tcp://talk.google.com:5222") > i m trying to use http://code.google.com/p/xmpphp/ actually > Does your proxy pass through all requests? It might be easier to just set you NIC gateway to the proxy. We stopped using ISA server with

Re: [PHP] CLI behind proxy

2010-02-04 Thread kranthi
stream_socket_client("tcp://talk.google.com:5222") i m trying to use http://code.google.com/p/xmpphp/ actually -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CLI behind proxy

2010-02-04 Thread Richard Quadling
On 4 February 2010 14:38, Richard Quadling wrote: > On 4 February 2010 14:19, kranthi wrote: >> fsockopen > > What type of socket are you opening? > > -- > - > Richard Quadling > "Standing on the shoulders of some very clever giants!" > EE : http://www.experts-exchange.com/M_248814.html > EE4

Re: [PHP] CLI behind proxy

2010-02-04 Thread Richard Quadling
On 4 February 2010 14:19, kranthi wrote: > fsockopen What type of socket are you opening? -- - Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certif

Re: [PHP] CLI behind proxy

2010-02-04 Thread kranthi
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.

Re: [PHP] CLI behind proxy

2010-02-04 Thread Richard Quadling
On 4 February 2010 12:48, kranthi wrote: > Hi all, > > I want to run fsockopen etc behind a proxy. > proxychains (http://proxychains.sourceforge.net/) may be helpful, > unfortunately the support for that is pretty bad. Please inform me of other > alternatives > > KK. > I used to use a proxy writt

[PHP] CLI behind proxy

2010-02-04 Thread kranthi
Hi all, I want to run fsockopen etc behind a proxy. proxychains (http://proxychains.sourceforge.net/) may be helpful, unfortunately the support for that is pretty bad. Please inform me of other alternatives KK.