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:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 10:18 AM To: Jaime Bozza; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Switching zlib.output_compression, bug #16109 I simply don't use output compression for images ----- Original Message ----- From: "Jaime Bozza" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "'Stefan Roehrich'" <[EMAIL PROTECTED]>; "'Mike Hall'" <[EMAIL PROTECTED]> 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php