note 30529 added to ref.zlib
| From: | phpuser at rack1 dot php dot net | Date: | Fri, 21 Mar 2003 01:32:01 +0000 |
| Subject: | note 30529 added to ref.zlib | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45583@lists.php.net to get a copy of this message | ||
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.
--
http://www.php.net/manual/en/ref.zlib.php
http://master.php.net/manage/user-notes.php?action=edit+30529
http://master.php.net/manage/user-notes.php?action=delete+30529
http://master.php.net/manage/user-notes.php?action=reject+30529