#22154 [Fbk->Opn]: fpassthru() fails with files larger than a few hundered KB
From: malekjo at aphrodite dot com Date: Tue, 11 Feb 2003 00:17:58 +0000 Subject: #22154 [Fbk->Opn]: fpassthru() fails with files larger than a few hundered KB References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-32704@lists.php.net to get a copy of this message
ID: 22154
User updated by: malekjo@aphrodite.com
Reported By: malekjo@aphrodite.com
-Status: Feedback
+Status: Open
Bug Type: Apache related
Operating System: Linux 2.4.18-10
PHP Version: 4.3.0
New Comment:
Sorry for the delay, I was building php4.3.0 and monkeying with my
script for a bit. A simplified:
function download_product ($product, $platform, $userdn) {
$fp = fopen("/home/joem/public_html/php/wordlist.txt","r");
fpassthru($fp);
}
exhibits the same problem.
But
<?php
echo "<HTML><BODY><PRE>\n";
$fp = fopen("somelargetextfile.txt","r");
fpassthru($fp);
echo "</PRE></BODY></HTML>\n";
?>
by itself starts printing the file to my browser fine... I've still
got the fpassthru() running in the immediately above code running on
another box at the moment.
-rw-rw-r-- 1 joem joem 6.8M Feb 10 16:42
/home/joem/public_html/php/wordlist.txt
Previous Comments:
------------------------------------------------------------------------
[2003-02-10 18:04:36] pollita@php.net
Still waiting for that feedback though...
------------------------------------------------------------------------
[2003-02-10 18:04:28] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-02-10 18:03:00] malekjo@aphrodite.com
I was able to reproduce this behavior with PHP 4.3.0 as an apache
module. (just finished building and installing it).
------------------------------------------------------------------------
[2003-02-10 17:58:28] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
PHP 4.3.0 was released long time ago..
------------------------------------------------------------------------
[2003-02-10 17:29:14] pollita@php.net
Does using readfile("../../../software/$file") produce the same
problems?
Can you reproduce the problems using a simpler script? i.e.:
<?php
echo "<HTML><BODY><PRE>\n";
$fp = fopen("somelargetextfile.txt","r");
fpassthru($fp);
echo "</PRE></BODY></HTML>\n";
?>
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22154
--
Edit this bug report at http://bugs.php.net/?id=22154&edit=1
Thread (34 messages)
- #22154 [Opn->Fbk]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Fbk->Bgs]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Bgs->Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn->Fbk]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Fbk]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Fbk->Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Com]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn->Fbk]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Fbk->Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn->Fbk]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Fbk->Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn->Fbk]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Fbk->NoF]: fpassthru() fails with files larger than a few hundered KB
- #22154 [NoF->Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn->Fbk]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Fbk->Opn]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Opn->Fbk]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Fbk->Ver]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Ver]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Ver]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Ver]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Com]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Com]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Ver]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Ver->Bgs]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Bgs->Ver]: fpassthru() fails with files larger than a few hundered KB
- #22154 [Ver->Csd]: fpassthru() fails with files larger than a few hundered KB
| « previous | php.bugs (#32704) | next » |
|---|