note 10182 rejected and deleted from CURL, Client URL Library Functions by zak
| From: | zak@php.net | Date: | Mon, 18 Dec 2000 01:12:30 +0000 |
| Subject: | note 10182 rejected and deleted from CURL, Client URL Library Functions by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8830@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