Re: [PHP] Problems with CURL using an HTTP Proxy on PHP5

2011-12-21 Thread Matijn Woudt
On Fri, Dec 16, 2011 at 10:09 PM, Francisco M. Marzoa Alonso 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 u

[PHP] Problems with CURL using an HTTP Proxy on PHP5

2011-12-16 Thread Francisco M. Marzoa Alonso
Hello, The following code is failing and I do not find the cause (please, note that checkurl value and CURLOPT_PROXY are NOT the real values I'm using, of course): $ch = curl_init(); $checkurl = 'http://mycheckhost.com/'; curl_setopt ($ch, CURLOPT_TIMEOUT, 6000); c