Re: Clearing the PHP Output Buffer

From: Date: Tue, 18 Apr 2000 13:47:30 +0000
Subject: Re: Clearing the PHP Output Buffer
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-18013@lists.php.net to get a copy of this message
: 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

« previous php.dev (#18013) next »