|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-05 10:51 UTC] kjartan at zind dot net
[2002-11-06 03:56 UTC] wez@php.net
[2003-01-15 05:56 UTC] daniel at haxx dot se
[2003-11-29 01:50 UTC] sniper@php.net
[2004-04-22 02:05 UTC] wez@php.net
[2004-09-16 14:50 UTC] wez@php.net
[2010-12-03 18:13 UTC] jani@php.net
-Package: Feature/Change Request
+Package: cURL related
[2014-04-25 09:43 UTC] mike@php.net
-Status: Open
+Status: Wont fix
-Type: Feature/Change Request
+Type: Bug
[2014-04-25 09:43 UTC] mike@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 23:00:01 2025 UTC |
The following script works fine without curlwrappers, but the while loop never exits with it enabled: <?php print "Opening site..\n"; if ($fp = fopen('http://www.cnn.com/', 'r')) { print "Reading data..\n"; while (!feof($fp)) { $data .= fgets($fp, 128); } print "closing file..\n"; fclose($fp); print $data; } ?> ./configure --with-mysql=/usr/local/ --with-apxs --sysconfdir--mandir=/usr/local/man/ --enable-calendar --enable-ftp --with-openssl --without-pear --with-curl=/usr/lib --with-zlib --enable-tokenizer --with-imap-ssl --with-gd --with-curlwrappers --disable-mbstring curl 7.10.1 (i686-pc-linux-gnu) libcurl/7.10.1 OpenSSL/0.9.6d zlib/1.1.3