Bug #16109 Updated: zlib.output_compression and generated pictures

From: Date: Tue, 28 May 2002 14:23:51 +0000
Subject: Bug #16109 Updated: zlib.output_compression and generated pictures
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8755@lists.php.net to get a copy of this message
ID: 16109 Updated by: php@fatalfx.com Reported By: pguillot@paanjaru.com Status: Open Bug Type: Zlib Related Operating System: linux PHP Version: 4.1.2 New Comment: When I look at http://www.php.net/manual/en/function.ini-set.php it says that the value can be set anywhere (PHP_INI_ALL). Yes, that true what it has no effect. The master value on my computer is "on" and when I set it "off" at the beginning of my script it has no effect (even if phpinfo() tells the local value is "off"). So all pictures I read out from my database are not shown (broken image) in Netscape. Why can't I switch it "off" in a particular script? Is it a problem with the headers (Content-Encoding)? I really would like to have it switched "on" to keep the data transfer as low as possible. But if my pictures aren't shown in Netscape it's of no use. Actually, where is the bug? In the zlib? In Netscape? Roger Previous Comments: ------------------------------------------------------------------------ [2002-04-03 15:03:30] pguillot@paanjaru.com Thanks a lot Sniper ! After a little digging, the only bug report 'related' to the problem discussed here seems bug #10905 which was closed because of no feed back. The strange point about what is happening is that pictures .png or .jpeg are already compressed, due to the format itself ... Also, if I use apache's mod_gzip to compress again the pictures, it works, and other non script generated pictures are ok too. Sounds weird. ;-) Patrick ------------------------------------------------------------------------ [2002-04-03 08:47:40] sniper@php.net If you can't find the number for the other bug report, leave the report open.. ------------------------------------------------------------------------ [2002-04-03 06:32:06] sander@php.net I'm 100% sure there is a bugreport for this. I don't know the number, I can't find it anymore... ------------------------------------------------------------------------ [2002-03-16 07:08:29] pguillot@paanjaru.com Which bug number is it ? I tried to find a bug report, but didn't found any. ------------------------------------------------------------------------ [2002-03-16 06:54:00] sander@php.net This has already been reported. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16109 -- Edit this bug report at http://bugs.php.net/?id=16109&edit=1

« previous php.bugs (#8755) next »