Re: make an image disappear when page loads
| From: | Torsten Roehr | Date: | Mon, 05 Jul 2004 17:51:33 +0000 |
| Subject: | Re: make an image disappear when page loads | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189732@lists.php.net to get a copy of this message | ||
"Diana Castillo" <diana@hotelkey.com> wrote in message
news:20040705162500.48305.qmail@pb1.pair.com...
> what do you mean by fx Javascript ?
> what I want really is something like what happens on this page when you
> search for a flight,
> http://www.expedia.net/daily/home/default.asp
> an in between page comes on until the information about flights is loaded.
> how can I do that with php?
Hi Diana,
create 3 pages:
page 1: form for user input, submit to page 2
page 2: "wait" screen, immediately forward form values to page 3 (via
JavaScript auto-submit of a form with POST or via PHP's header and GET)
page 3: processing of form data
Page 2 will be shown as long as page 3 is processing the data. When page 3
has finished processing the data and started output page 2 will disappear.
Is this what you are looking for?
Regards, Torsten Roehr