Hey all.

Having a good problem -- our hockey report site has jumped from 10
gigs/month to 30+ gigs/month & growing.

We're getting killed in bandwidth fees at the moment; barring switching to
another host, will utilizing ZLIB compression significantly reduce
bandwidth?

Also, in terms of ZLIB settings, I've ini_set() zlib compression to ON.

Additionally, do I need to ob_start() (& flush) page output?

I am uncertain how to implement the following:

example.php

<?
    session_start();

    ini_set("zlib.output_compression","ON");
    ini_set("zlib.output_compression_level",4);

    ob_start();

    $page_contents = fopen(** read file contents to variable **);

    ob_end_flush();
?>

Thanks for any advice,

--Noah

--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to