PHP 4.0 Bug #6419: Curl output has extra data in output
| From: | medvitz at medvitz dot net | Date: | Tue, 29 Aug 2000 18:24:11 +0000 |
| Subject: | PHP 4.0 Bug #6419: Curl output has extra data in output | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31103@lists.php.net to get a copy of this message | ||
From: medvitz@medvitz.net
Operating system: Linux
PHP version: 4.0 Latest CVS (29/08/2000)
PHP Bug Type: Other
Bug description: Curl output has extra data in output
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