On Fri, Dec 16, 2011 at 10:09 PM, Francisco M. Marzoa Alonso
<franci...@marzoa.com> wrote:
> I know it is NOT a problem with the website, because if I comment out
> the line curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, 1) disabling the use
> of a proxy, it works fine.
> I know the proxy is working fine, because if I use curl from command
> line like:
> curl -x http://mycheckhost.com/

CURLOPT_HTTPPROXYTUNNEL is not for enabling/disabling proxy, it's for
proxy tunneling. On the command line you should try curl --proxytunnel
-x http://mycheckhost.com/ to check if tunneling works.
Do you really need a tunnel?



PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to