Fwd: Re: [PHP] curl library

From: Date: Mon, 21 Oct 2002 17:29:19 +0000
Subject: Fwd: Re: [PHP] curl library
Groups: php.general 
Request: Send a blank email to php-general+get-120772@lists.php.net to get a copy of this message
Oops, sorry about the blank response - hit the send button too quickly. Not sure if this is the cause of your problem but try changing curlOPT_RETURNTRANSFER to CURLOPT_RETURNTRANSFER and curlOPT_URL to CURLOPT_URL 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 > > ----- End forwarded message -----

« previous php.general (#120772) next »