best way to flush stdout?
| From: | Phil Glatz | Date: | Mon, 21 May 2001 17:03:33 +0000 |
| Subject: | best way to flush stdout? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-53755@lists.php.net to get a copy of this message | ||
I have a page that displays a few lines, then runs a database query that takes five or six seconds. I'd like to flush stdout and display the first text while the query is running, so the user doesn't think the site is down. What's the best way to accomplish this? thanks