note 30529 deleted from ref.zlib by sniper

From: Date: Tue, 27 May 2003 22:21:58 +0000
Subject: note 30529 deleted from ref.zlib by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49119@lists.php.net to get a copy of this message
Note Submitter: phpuser at dpiworld.com ---- With zlib.output_compression turned on in the php.ini file, I discovered that the output of my script which returns jpeg data was being compressed, which for some reason causes IE 6.0 to take much longer to display the image. Turning off compression cured the problem. So I tried calling ini_set("zlib.output_compression", 0 ) (also tried "Off") as the first statement in my script. It does not appear to work. Then I noticed that the documentation is inconsistant, here it says zlib.output_compression can be changed anywhere (PHP_INI_ALL), yet in the docs for ini_set() it says that it can only be changed in PHP_INI_SYSTEM or PHP_INI_PERDIR. If I understand correctly that means ini_set() can't change it in a script. Apparently the latter is true.

« previous php.notes (#49119) next »