According to the documentation of the flush() command, text sent to the browser via functions may be stored in a memory buffer and written out only when the buffer is full. I'd like to have the ability to erase the contents of this buffer for error handling purposes. Once my error handling function is called, I'd like to clear as much of the previously written HTML as possible to not confuse the error message.
Is this possible? Do I have access to the a variable that points to the output buffer?
Any help would be appreciated. BTW, I'm still using PHP 3.0.9.
Thanks!