Re: [PHP] ob_start -- output buffer problem

2003-03-10 Thread Ernest E Vogelsinger
At 11:22 09.03.2003, Alex Lance said: [snip] >here's my example: > > >$x = new test(); > >echo "hey"; > >// IF next line is uncommented so it manually flushes >// then the finish method WILL get called. But I need >// get around calling anything at the *end*

Re: [PHP] ob_start -- output buffer problem

2003-03-10 Thread Jim Lucas
e the ob_get_contents(); or ob_end_clean(); then PHP waits until everything is done, and then flushes. Jim - Original Message - From: "Alex Lance" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 09, 2003 2:22 AM Subject: [PHP] ob_start -- output buffer problem

[PHP] ob_start -- output buffer problem

2003-03-09 Thread Alex Lance
Hi all, to quote from http://www.php.net/manual/en/function.ob-start.php > void ob_start ( [string output_callback]) > > An optional output_callback function may be specified. This function > takes a string as a parameter and should return a string. The function > will be called when ob_end_flu