ob_gzhandler

Greetings all,

ob_start("ob_gzhandler");

This is probably old news to the majority on here, but basically, I just added that line to the top (N.B. it MUST be before you echo any output) of a script producing 1000 results & saw the resultant filesize drop from 250k to 28k.
Now I don’t care what planet you come from, that’s a fairly good result!!

TTFN
BFG

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>