Re: [PHP] Re: Output Compression & output buffering..

2002-08-26 Thread Gerard Samuel
Basically the included file containing the error handler is like so -> - -- In another file, I start compression like -> if ($compress == '1') { ob_start('gz_handler'); } - Then at the end of the script I have ob_end_flush(); I believe the sequence of eve

[PHP] Re: Output Compression & output buffering..

2002-08-26 Thread Eric Pignot
Hi Gerard, I never had any problem using output buffering... Do you correctly dump the buffer when an error occurs ? I suppose you have built your own error() function, a bit like this one : exit_on_error($msg){ ob_end_clean(); echo $msg; exit(); } can you tell us a bit more concern