Jump to content

Gzipping content browser-wide?


random1

Recommended Posts

How can you gzip page content in PHP to run correctly in Firefox, IE, Safari and Opera??

 

I start with:

 

ob_start('ob_gzhandler');

 

and end with:

 

ob_end_flush();

 

I have it working so that it runs and gzips correclty in Firefox 2, 3 and in Safari.

 

But when I run the same page (gzipped) in Internet Explorer it shows partial content with a plain background.

 

In Opera it shows this notice 3 times:

 

Notice: ob_end_flush() [ref.outcontrol]: failed to delete and flush buffer. No buffer to delete or flush. in ....

 

How can this be handled?

Link to comment
https://forums.phpfreaks.com/topic/121514-gzipping-content-browser-wide/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.