RE: Gzipped output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrés Robinet wrote:

> How about something like this? (Needs debugging and testing, but...
> just a hint after all)
> 
> <?php
> 
> ob_start("ob_gzhandler");
> 
> while ($someString = getTheNextPartOfTheLargeFile()) {
> echo $someString;
> ob_flush();
> }
> 
> ?>

I like it from a coding point of view  (it's neat and elegant), but I
don't think it achieves anything else than my initial suggestion of
using exec(gzip -c).



/Per Jessen, Zürich

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux