#21944 [Opn]: zlib compressed pages can be flushed causing compressed output to be displayed
ID: 21944
User updated by: phpbug@paragontech.com
Reported By: phpbug@paragontech.com
Status: Open
Bug Type: Zlib Related
Operating System: win NT 4.0
PHP Version: 4.3.0
New Comment:
This is a problem with IE 6.0.26 as well as Netscape Navigator 4.08.
Previous Comments:
------------------------------------------------------------------------
[2003-01-29 09:50:50] phpbug@paragontech.com
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 this bug report at http://bugs.php.net/?id=21944&edit=1
Thread (8 messages)