output buffering display handlers....
| From: | PHPGreen | Date: | Wed, 17 Mar 2004 01:36:02 +0000 |
| Subject: | output buffering display handlers.... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180628@lists.php.net to get a copy of this message | ||
Hi Folks,
I am trying to use outbuffering techniques....
ob_start(myCallBack)
.....
ob_end_flush()
function myCallBack($inBuffer)
{
//process
ob_start();
include "aPHPFile.php";
$includeFileContents = ob_get_contents();
ob_end_clean();
}
I am seeing the following error "Cannot use output buffering in output
buffering display handlers" ...is there an workaround of including this file
using the php engine or alternative solution of getting access to php
internal outbuffer inside an output handler callback...
Thanks