<sigh> Unfortunately, in some cases, this won't work for me.  The
"image" scripts aren't always in their own separate directory.

I *have* a workaround, but I just thought it would be nicer to allow
using:
   ini_set("zlib.output_compression", "Off");

at the start of a script.  Apparantly, everyone seems against that. :)


Jaime Bozza

-----Original Message-----
From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 24, 2002 7:47 PM
To: [EMAIL PROTECTED]; Jaime Bozza
Cc: 'Mike Hall'
Subject: Re: [PHP-DEV] Switching zlib.output_compression, bug #16109


Jaime Bozza wrote:
> And how do you set zlib.outputcompression on at runtime?
> 

.htaccess if you are using Apache.

If you use web server other than Aapche, use ob_gzhandler()
I don't like ob_gzhandler() since PHP will misbehave easily
by user's mistakes. However, it should be used in this case.

--
Yasuo Ohgaki


-- 
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