cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: https problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Feb 2003 08:43:40 +0100 (CET)

On Mon, 24 Feb 2003, [gb2312] wrote:

> when i get a http page, it work right. but when i get a https page. it
> return nothing.

(This is a PHP program, you may find more knowledgable people on the
curl-and-php mailing list.)

So let's do the usual tango:

What curl version? What operating systen? Is your curl built to work with
SSL? And perhaps most importantly, did you read this
http://curl.haxx.se/lxr/source/SSLCERTS ?

> $ch = curl_init ("https://www.website.com/");
> $result = curl_exec ($ch);
> curl_close ($ch);

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
Received on 2003-02-24