Re: [PHP-DEV] Clearing the PHP Output Buffer From: Andrei Zmievski (andrei <email protected>)
Date: 04/18/00

On Tue, 18 Apr 2000, Rich Bryant wrote:
> Hi,
>
> Does anyone know how to (or documentation on how to) manage the
> PHP output buffer? For example, I would like to be able to
> clear (not flush, but clear) the output buffer in the case of
> error processing.
>
> Any recommendations would be most welcome.

ob_end_clean() should do it.

-Andrei

"Someone clearly thinks that C is a garbage collected language"
 -- Morten Welinder

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>