Personally, I don't really care to have compression turned off
automatically for images.  I'd like to be able to make that choice
myself.  For the browsers that work correctly, an uncompressed generated
image will still be able to take advantage of zlib compression.

I *DO* like the ability to be able to ini_set (or turn off some other
way) the zlib.output_compression switch.  That way, if I want to turn
off compression for some reason, I can just use the switch.

FYI, Netscape doesn't just have problems with images.  Netscape also
doesn't properly render compressed ILAYERs.  On my site, I have to
disable HTML (For Netscape) that is rendered in an ILAYER.

While the bugs in Netscape aren't necessarily PHP's problem, it really
would be nice to be able to turn off compression in cases where we have
to, *because* of the browser bugs.  The choice of using .htaccess
complicates something that should be easily tunable from within the
script.


Jaime Bozza


-----Original Message-----
From: Stefan Roehrich [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, June 25, 2002 8:19 AM
To: Yasuo Ohgaki
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] Re: Switching zlib.output_compression, bug #16109


On 2002-06-25 09:36:20, Yasuo Ohgaki wrote:
> Yasuo Ohgaki wrote:
> >I would suggest turn off compression for image.
> I mean turn off compression manually.
> >As you already know, turning on and off by header(mime-type)
> >does not work always, thus it's confusing.

Yes, but we need some kind of detection in order to disable it for PHP
internally generated images like the PHP/Zend logos used by
phpinfo(). Or we have to switch compression off there.

  Stefan

-- 
Stefan Röhrich               [EMAIL PROTECTED], [EMAIL PROTECTED]
                                 http://www.roehri.ch/~sr/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php





--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to