cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-php mailing list Archives

Re: Cookie - Unix works, Windows doesn't

From: Marten Menke <mmenke_at_gmail.com>
Date: Mon, 9 Oct 2006 00:29:03 +0200

On Sun, 8 Oct 2006, Daniel Stenberg wrote:
*> I*f I were you I'd start with making sure they both run the same libcurl
version (and a much newer one than the ones you use)...

I tried running PHP 5.1.6 with build in libcurl 7.14.0 on both linux and
windows, but do dice.
Some more searching yielded a solution though:

from: http://www.dinke.net/blog/2006/08/31/curl-http-client/en/

        //hack to make code work on windows
        if(strpos(PHP_OS,"WIN") !== false)
        {
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
        }

Works like a charm now.

Thank you for looking into it!

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-10-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET