Re: Transition Page?
| From: | Chris Shiflett | Date: | Mon, 27 Jan 2003 05:29:37 +0000 |
| Subject: | Re: Transition Page? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133216@lists.php.net to get a copy of this message | ||
--- Lee Herron <lee@audiomarket.com> wrote:
> I'm interested in how most would create a transition
> page..
One thing you might consider is using flush() to output
what you have so far to the browser rather than sending
them to another page when you're done. An example of
something to output might be:
<p>This might take a while...</p>
<?
flush()
do_hard_stuff();
?>
<p>Finished!</p>
If you are using output buffering, you'll have to flush
that, too. If your Web server is doing any kind of
buffering, it might not work at all.
Chris