[dev] Problem with compression and bufferOutput call?
Chuck Hagenbuch
chuck at horde.org
Tue Jul 29 17:28:57 PDT 2003
Quoting Chris <chris at jeks.net>:
> Is anyone else having issues with having compression on and certain
> screens that use bufferOutput?
Nope.
> I took a look at bufferOutput and it uses ob_start() / ob_end_clean()
> combo to get output from a function that normally outputs to stdout.
>
> Does that strike anyone else as the ultimate hack?
No.
> Why not rewrite those functions you need to return output, and change the
> usage of those to just 'print $output'?!
Because the functions we use this for either involve including templates, or
calling PHP functions which print their output instead of returning it.
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.
More information about the dev
mailing list