curl-and-php
Re: hi all :) please help >>>>
Date: Tue, 4 Feb 2003 09:26:31 +0100 (CET)
On Sun, 3 Feb 2002, beshoo wrote:
> ok i under stand that i cant do that to fake the IP address. but what i
> believe that if i tunnel my POST thru another Proxy server the IP will be
> the New proxy server ip that i use it , cURL support that .. with this
> function :
>
> curl_setopt ($ch, CURLOPT_PROXY, "$proxyname:$proxyport");
>
> but i test it with my company proxy server it is ( proxy.scs-net.org:8080)
> it is not work :(
Well, that is how you use a HTTP proxy. You could perhaps consider
elaborating a bit on the "it is not work" part.
> may be i made some thing that`s not right in my coding . and this function
> will be helpfull if i understan how can i use it
>
> curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, 1 );
If you want to tunnel the protocol trough the proxy, yes, then this is the
option for you.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.comReceived on 2003-02-04