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 script. > >//ob_end_flush(); > > >class test { > ...etc --------------------[snip]--------------------
This won't work anyway since your class test is declared after using it - it should be the other way 'round: class test {} $x = new test(); -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php