Re: Switching zlib.output_compression, bug #16109

From: Date: Wed, 26 Jun 2002 16:37:42 +0000
Subject: Re: Switching zlib.output_compression, bug #16109
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-85601@lists.php.net to get a copy of this message
On 2002-06-26 20:19:34, Yasuo Ohgaki wrote: > I'm -1 for features that silently fails. > User can check ini_set return value if it is successful or not. > So I'm 0 for ini_set("zlib.output_compresion","Off"); I don't understand your first two sentences, what do you mean with "silently fails"? The switching off via an image Content-Type header? Normally I also don't like such "automatical" solutions, but I think that's an easy way to make it possible e.g. for a hosting company to switch on output compression without having to change every script which sends an image because of this netscape bug (which is visible e.g. with phpinfo()). You still can force off the output compression via ini_set (or even force it on for images, e.g. if you want to send uncompressed gifs). Stefan -- Stefan Röhrich stefan@roehri.ch, sr@linux.de http://www.roehri.ch/~sr/

« previous php.dev (#85601) next »