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

curl-and-php

PHP returns nothing...

From: Dale Schell <dale_at_frontbase.com>
Date: Tue, 20 Nov 2001 13:41:38 -0800

To all,
        After a battle of immense proportions, I finally got php to compile
with cURL 7.9 and OpenSSL 0.9.6b on Mac OSX 10.1.1. From the command
line I can retrieve HTTPS urls just fine, but when I try to accomplish
the same action from within PHP, the script returns a blank page. I am
using the following code:

$ch = curl_init();

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_URL, "https://www.databright.com");

$Response = curl_exec($ch);

print($Response . " || ");
curl_close($ch);

        Any help would be greatly appreciated.

Thanks,
Dale Schell
FrontBase, Inc
dale_at_frontbase.com
Received on 2001-11-20