Thank you very much for your reply. It answered my question perfectly.
I have looked over the curl.haxx.se docs areas many times and can still
not find the document that holds a complete list of those options. Can
you point me in the right direction?
Unfortunately, the current builds of PHP5 for windows do not include
the latest version of curl in its php_curl.dll (They have 7.10.8). While
I have some limited experience hacking source and compiling on linux,
I have none on windows and am unfortunately stuck developing php on
windows currently. Should I look to compile a new php_curl.dll myself
(I imagine I can download a free compiler for windows or something?)
or should I try and co-erce the people who compile the windows version
of PHP (who?) to upgrade to the current version (Need to make those struct
rename changes you mentioned in the other thread? Maybe a good time
while its still in RC stage?).
On Thu, 25 Mar 2004 23:58:37 -0800 Daniel Stenberg <daniel-curl_at_haxx.se>
>On Thu, 25 Mar 2004 andy_cee_at_hush.ai wrote:
>> Having great trouble using PHP5/Curl to pull requests through
>If you want to use SOCKS, get curl 7.11.1 and no less. We've done
>fixes to the
>SOCKS code very recently.
>> $ch = curl_init ();
>> curl_setopt ($ch, CURLOPT_URL, "http://localhost/");
>> curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
>> curl_setopt ($ch, CURLOPT_RETURNTRANSFER, TRUE);
>> curl_setopt ($ch, CURLOPT_PROXY, "localhost:1080");
>> $result = curl_exec($ch);
>This code doesn't tell curl that the proxy is a SOCKS one, and thus
>that the proxy is a HTTP one and that will always fail.
>CURLOPT_PROXYTYPE must be set to CURLPROXY_SOCKS5 for socks to work.
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2
Free, ultra-private instant messaging with Hush Messenger
Promote security and make money with the Hushmail Affiliate Program:
Received on 2004-03-27