From: [EMAIL PROTECTED] Operating system: win NT 4.0 PHP version: 4.3.0 PHP Bug Type: Zlib Related Bug description: zlib compressed pages can be flushed causing compressed output to be displayed
This is with apache2 2.0.44 on Win NT If zlib.output_compression = On in the php.ini, and a flush() statement is sent on a PHP page, the compressed output will be displayed in the browser, or the user will be asked to "download" the file. If you do download this file, all you would see is the compressed output. I've never seen this behavior in previous versions of PHP, it's quite possible that this behavior is by design (it does exactly what you tell it to, it flushes its output, but the results are unexpected.) Removing the flush() statements or setting zlib.output_compression = Off are possible solutions until a fix (if any) is made. -- Edit bug report at http://bugs.php.net/?id=21944&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21944&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21944&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21944&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21944&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21944&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21944&r=support Expected behavior: http://bugs.php.net/fix.php?id=21944&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21944&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21944&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21944&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21944&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21944&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21944&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21944&r=gnused