curl-and-php
RE: Curl, PHP, IIS and Windows!
Date: Sat, 4 Dec 2004 01:23:28 -0000
Thank you very much, I saw those lines elsewhere but with 1 as the values
and it didn't work! If you're ever in bristol, uk, give me a ring and i'll
buy ya a pint ;)
Kind Regards,
Alex Threlfall
Cyberprog New Media
tel - 0870 446 0789
fax - 0870 446 1789
www.cyberprog.net
_____
From: curl-and-php-bounces_at_cool.haxx.se
[mailto:curl-and-php-bounces_at_cool.haxx.se] On Behalf Of Francisco Vicente
San Pablo
Sent: 04 December 2004 12:47 AM
To: curl-and-php_at_cool.haxx.se
Subject: RE: Curl, PHP, IIS and Windows!
Añade estas dos líneas a tu código y te funcionará;
Suerte
Add this two lines to your code and it shall works.
Good luck.
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
If you have any trouble write us.
>From: "Alex Threlfall" <Alex_at_cyberprog.net>
>Reply-To: Programming PHP/CURL <curl-and-php_at_cool.haxx.se>
>To: <curl-and-php_at_cool.haxx.se>
>Subject: Curl, PHP, IIS and Windows!
>Date: Fri, 3 Dec 2004 23:45:41 -0000
>
>Hi All,
>
>I'm trying to get an shopping cart working on my server which uses curl to
>post to an https site.
>
>The version of PHP is 4.3.9 and I've copied the curl dll (php_curl.dll)
into
>the windows system dir, and in an phpinfo output it's showing up as:
>
>curl
>CURL support enabled
>CURL Information libcurl/7.11.2 OpenSSL/0.9.7e zlib/1.1.4
>
>I can get normal http pages ok (I've tested that much!) but https pages
>don't work at all.
>
>Can anyone shed any light on this? I have openssl installed on the machine
>already btw.
>
>Kind Regards,
>
> Alex Threlfall
>Cyberprog New Media
>tel - 0870 446 0789
>fax - 0870 446 1789
> www.cyberprog.net
>
>
_____
Acepta el reto MSN Premium: Envía hasta 500 megas diarios de fotos desde
Hotmail. Descárgalo y pruébalo 2 meses gratis.
<http://g.msn.com/8HMBESES/2743??PS=47575>
Received on 2004-12-04