Re: curl library
| From: | jacob at keystreams dot com | Date: | Mon, 21 Oct 2002 17:27:59 +0000 |
| Subject: | Re: curl library | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120771@lists.php.net to get a copy of this message | ||
Quoting "Andres, Cyrille" <Cyrille.Andres@icn.siemens.com>:
>
> 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.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>