note 10182 added to CURL, Client URL Library Functions
| From: | emilebosch at hotmai dot com | Date: | Mon, 18 Dec 2000 01:07:52 +0000 |
| Subject: | note 10182 added to CURL, Client URL Library Functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8829@lists.php.net to get a copy of this message | ||
Regarding my previous message:
There seem to be a bug or something in the CuRL library on Win32 PHP/4.0.3pl1 with the:
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
When the
$result = curl_exec($ch); is being called EVERYTHING outputed will be stored in the $result variable
except the last character. This can't be good.
Without the RETURNTRANSFER everything seems to be ok. The whole result is then being echo'ed
back. If someone knows a solution about the RETURNTRANSFER,1 please help me out :-) Till then i will
use output buffering to get the right content back.. :-) Later
http://www.php.net/manual/ref.curl.php