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*
because the flush happens after everything is done, including the fputs
thingy.
you have to call ob_get_contents() or something like that.
I always to this
ob_start();
do something
$data = ob_get_contents();
ob_end_clean();
then I work with the $data later.
but if you don't use the ob_get_co
2 matches
Mail list logo