ID: 22154 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] Still waiting for that feedback though... ------------------------------------------------------------------------ [2003-02-10 18:04:28] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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