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
Hi all,
to quote from http
At 11:22 09.03.2003, Alex Lance said:
[snip]
here's my example:
?php
$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* of a
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_flush()
3 matches
Mail list logo