curl library
| From: | Andres, Cyrille | Date: | Mon, 21 Oct 2002 16:28:52 +0000 |
| Subject: | curl library | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-120763@lists.php.net to get a copy of this message | ||
Hello everybody,
I try to retrieve and display an 128-byte encrypted page on the internet (
https protocol) . For this I had to install the curl library.
I use this code but all I have is a white page :
$ch = curl_init();
$sample_URL = "https://www.example.com";
curl_setopt($ch, curlOPT_URL, $sample_URL);
curl_setopt($ch, curlOPT_RETURNTRANSFER, 1);
$result=curl_exec($ch);
curl_close($ch);
I don't have any error, I just retrieve a white page.
Thanx for any advice !!!
Cyrille.