PHP 4.0 Bug #6419 Updated: Curl output has extra data in output
| From: | Bug Database | Date: | Mon, 04 Sep 2000 17:17:22 +0000 |
| Subject: | PHP 4.0 Bug #6419 Updated: Curl output has extra data in output | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31950@lists.php.net to get a copy of this message | ||
ID: 6419
Updated by: sterling
Reported By: medvitz@medvitz.net
Status: Open
Bug Type: cURL related
Assigned To:
Comments:
Moving to cURL related.
Previous Comments:
[2000-08-29 14:24:11] medvitz@medvitz.net
I've got two test programs as listed.
test.php
<?
phpinfo();
?>
test1.php
<?
$ch = curl_init("http://10.0.0.100/test.php");
curl_setopt($ch,CURLOPT_HEADER,0);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_POST,1);
curl_setopt($ch,CURLOPT_POSTFIELDS,"a=bb&r=beer");
echo curl_exec($ch);
curl_close($ch);
?>
when I run test1.php through a browser, I get 'extra' characters periodically through the
page. The characters are 'êÿ¿vÀ@'.
The php config is :
./configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs'
'--with-config-file-path=/etc/httpd'
'--enable-safe-mode'
'--with-exec-dir=/usr/bin'
'--with-system-regex' '--disable-debug'
'--enable-debugger' '--enable-magic-quotes'
'--enable-track-vars'
'--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--with-xml'
'--with-ftp' '--with-pgsql'
'--enable-wddx' '--with-curl=../curl-7.1.1' '--with-zlib'
Thanks,
Dave
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6419