Date: 04/18/00
- Next message: Andrei Zmievski: "Re: [PHP-DEV] Clearing the PHP Output Buffer"
- Previous message: StartNet: "Re: [PHP-DEV] PHP 4.0 Bug #4175: new class_name doesn't work in class definition"
- In reply to: Andrei Zmievski: "Re: [PHP-DEV] Clearing the PHP Output Buffer"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Clearing the PHP Output Buffer"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Clearing the PHP Output Buffer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
: 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>
- Next message: Andrei Zmievski: "Re: [PHP-DEV] Clearing the PHP Output Buffer"
- Previous message: StartNet: "Re: [PHP-DEV] PHP 4.0 Bug #4175: new class_name doesn't work in class definition"
- In reply to: Andrei Zmievski: "Re: [PHP-DEV] Clearing the PHP Output Buffer"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] Clearing the PHP Output Buffer"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Clearing the PHP Output Buffer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

