Posted by Rasmus Lerdorf on 10/21/64 11:15
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
[Back to original message]
|