Re: #20263 [Opn->]: feof doesn't work with --with-curlwrappers
| From: | Melvyn Sopacua | Date: | Tue, 05 Nov 2002 16:30:37 +0000 |
| Subject: | Re: #20263 [Opn->]: feof doesn't work with --with-curlwrappers | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90517@lists.php.net to get a copy of this message | ||
Ehm,
I don't think you should make this "Won't fix".
Having an open bug for this, can serve as a reminder for the maintainer,
that they should look at it.
'Suspend and assigned' is a better one - we WILL in fact fix it and IMHO we
shouldn't discourage people testing experimental code.
At 16:19 11/5/2002 +0000, nicos@php.net wrote:
Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua <@Logan> I spent a minute looking at my own code by accident. <@Logan> I was thinking "What the hell is this guy doing?"ID: 20263 Updated by: nicos@php.net Reported By: kjartan@zind.net -Status: Open +Status: Won\'t fix Bug Type: cURL relatedOperating System: Linux RH 7PHP Version: 4CVS-2002-11-05New Comment: curlwrappers wont work until PHP 4.4 or PHP 5 Previous Comments: ------------------------------------------------------------------------ [2002-11-05 10:18:09] nicos@php.net Are you sure that it is curlwrappers the responsible? did you tried the same code without it? ------------------------------------------------------------------------ [2002-11-05 10:09:09] kjartan@zind.net 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20263&edit=1