NYCPHP Meetup

NYPHP.org

[nycphp-talk] Processing, please wait logic flow question

cliff cliff at pinestream.com
Tue Oct 31 10:22:39 EST 2006


How is this triggered? Is this called by the requesting button/form? If so,
don't you lose the post/get variables?

On Tue, 31 Oct 2006 10:10:49 -0500, Bill Kamm wrote
> I use the following. It's simple, and it works. It displays the 
> message "Please wait while we process your request", and immediately 
> redirects to the url that does the actual work. The "processing" 
> message will remain on the user's browser until your other php 
> script returns data.
> 
> <html>
> <head>
> <meta http-equiv="refresh" 
> content="0;url=http://yourdomain.com/process.php">
> </head>
> 
> <body>
> <p>Please wait while we process your request...<p />
> </body>
> </html>
> 
> Bill
> 
> Cliff Hirsch wrote:
> 
> > Many web sites display a “processing please wait” page after 
> > submitting an order, request, etc. and then display the final 
> > confirmation page when it’s available.
> >
> > I’m confused by how that works. Does the server-side script spit out a 
> > “processing” page by flushing the output buffer and then redirect when 
> > the script is completed? Or does the client-side JavaScript display 
> > the “processing” page while the server script goes about its business?
> >
> > Cliff



More information about the talk mailing list