RE: [PHP-DEV] Switching zlib.output_compression, bug #16109
| From: | Jaime Bozza | Date: | Mon, 24 Jun 2002 15:31:02 +0000 |
| Subject: | RE: [PHP-DEV] Switching zlib.output_compression, bug #16109 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85536@lists.php.net to get a copy of this message | ||
Ok, so... Say you have php.ini that defaults zlib.output_compression to
On? How would you go about setting it to off inside the script that
sends out an image?
Jaime Bozza
-----Original Message-----
From: Mike Hall [mailto:mike.hall@opencube.co.uk]
Sent: Monday, June 24, 2002 10:18 AM
To: Jaime Bozza; php-dev@lists.php.net
Subject: Re: [PHP-DEV] Switching zlib.output_compression, bug #16109
I simply don't use output compression for images
----- Original Message -----
From: "Jaime Bozza" <jbozza@thinkburst.com>
To: <php-dev@lists.php.net>
Cc: "'Stefan Roehrich'" <stefan@roehri.ch>; "'Mike
Hall'"
<mike.hall@opencube.co.uk>
Sent: Monday, June 24, 2002 4:11 PM
Subject: RE: [PHP-DEV] Switching zlib.output_compression, bug #16109
While this is, in fact, a Netscape-specific bug, it's a pain in that
there is no current easy workaround to disable zlib.output_compression
from the script. Right now (tested with 4.1.2, so I can't say how it
works in 4.2.x or above) if I have:
ini_set('zlib.output_compression', 'Off');
in my script, it's ignored and still sends out the compressed data. If
you don't like the browser detection on images, at least allow the
ability to be able to turn off zlib.output_compression from the script.
Jaime Bozza