Forum Moderators: coopster

Message Too Old, No Replies

GZip Pages Without mod gzip

how can I gzip pages without mod_gzip

         

cookiemonster

8:48 pm on Apr 3, 2010 (gmt 0)

10+ Year Member



Hi,

I'm with GoDaddy, and like many other hosts, they do not support mod_gzip on apache. My question is, is there any way to GZip pages on the fly WITHOUT mod_gzip and apache? Perhaps a PHP script?

Thank you!

StoutFiles

10:15 pm on Apr 3, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Put this at the very top of your PHP pages.

<? ob_start("ob_gzhandler"); ?>