ID: 22789 Updated by: [EMAIL PROTECTED] Reported By: dietrich dot ayala at foundstone dot com -Status: Open +Status: Feedback Bug Type: Output Control Operating System: windows 2000 PHP Version: 4.3.0 New Comment:
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 If the problem persists, please give more information of your environment, like are you running this under CGI/CLI/IIS/Apache/etc. ? Previous Comments: ------------------------------------------------------------------------ [2003-03-19 11:27:24] dietrich dot ayala at foundstone dot com In this example, php doesn't flush it's buffer until the after fclose(); I'm testing w/ a 10mb text file. <?php if (($f = fopen($very_large_file, 'r')) != 0) { while ( !feof($f) ) { echo fread($f, 4096); flush(); } fclose($f); } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22789&edit=1