Re: Reducing size of htm output

From: Date: Sat, 07 May 2005 06:46:08 +0000
Subject: Re: Reducing size of htm output
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-214746@lists.php.net to get a copy of this message
Oops. Sorry, you are correct. I did not look at the ob_gzhandler. I just thought of the ob_start function. But I remember gz encoding works fine with IE 5. Shouldn't be a problem with 5.5. Cheers, Prathap ---------- Original Message ----------- From: Rasmus Lerdorf <rasmus@lerdorf.com> To: Prathaban Mookiah <prathap@ee.pdn.ac.lk> Cc: Kirsten <neretlis@westnet.com.au>, php-general@lists.php.net Sent: Fri, 06 May 2005 14:31:04 -0700 Subject: Re: [PHP] Reducing size of htm output > Prathaban Mookiah wrote: > > Is it true that ob_start("ob_gzhandler") can cause problems on IE 5.5+? > > ==== > > Since IE <any-version> is on the client side, it shouldn't cause any problems > > to ob_start(), in that case any other PHP function. > > That's not true. ob_gzhandler is extremely browser-dependant since > it needs to check to see if the browser sent an appropriate accept-encoding > header. Some of the early IE versions sent accept-encoding: gzip but > didn't correctly implement it, so you can run into problems if you > use ob_gzhandler with certain older browsers. It is fine for all > the recent releases though. > > -Rasmus > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php ------- End of Original Message -------

« previous php.general (#214746) next »