Re: [PHP-DEV] Clearing the PHP Output Buffer From: Faisal Nasim (faisal <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.
:

Can I count the number of bytes in the output buffer?
Or perhaps get a whole copy into a scalar?

Am I right that PHP doesn't keep the buffered output,
but the OS does it for PHP?

Thanks.

Faisal

-- 
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>