You might want to look at the flush() function which seem to do exactly what you need.
http://www.php.net/manual/en/function.flush.php However please note that your web server might still buffer the output. You would then have to look at the server level to solve your problem. Hope this helps, Olivier Hubert At 20:29 2002-05-09 +0100, Mr. Adam ALLEN. wrote: >Wasn't sure on what the best way of describing it in a few words.. > >I have a few php scripts which outputs a good page worth of html, >then there is a long delay while something useful is done by the script. > >Currently, html only gets displayed by the browser once the complete >script has finished. What I'm looking to do, is flush the HTML out at >key points. (i.e. before I start the processing, so users actually know >somethings happening -rather thana appearing as if the connection is >timing-out). > >How would this be done in PHP? > > >Regards, >Adam > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php