cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

RE: Curl, PHP, IIS and Windows!

From: Francisco Vicente San Pablo <fvicente_at_msn.com>
Date: Sat, 04 Dec 2004 00:46:42 +0000

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@cyberprog.net>
>Reply-To: Programming PHP/CURL <curl-and-php@cool.haxx.se>
>To: <curl-and-php@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. Received on 2004-12-04