|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-01-29 09:50 UTC] phpbug at paragontech dot 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
I've something similiar with that. But the bug occures on PHP4.3.3RC2-dev with ZLib 1.1.3 compiled and 1.1.4 linked. Using system("zip ...1 ...2"); caused gziped output, instead smth like that: adding....xxx adding....yyy May be that's becouse of system()???(other bugs not noticed until zlib.output_commpression set to 'Off')