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 1.2.3.4:8888 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 1.2.3.4:8888 http://mycheckhost.com/ to check if tunneling works.
Do you really need a tunnel?

Cheers,

Matijn

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

Reply via email to