Would like page inbetween loading page

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
lestat
-


Joined: 15 Sep 2003
Posts: 130
Location: GREEN BAY

PostPosted: Tue Mar 16, 2004 11:52 pm    Post subject: Would like page inbetween loading page Reply with quote

Hi,

Not the best at this, but I have had Abyss up and running for quite some time now, and it's awesome! :P

I would like to have a "please wait while your page is being loaded" after a user clicks the submit button. Is this a redirection type of thing?

Please point me in the right direction :D
Back to top View user's profile Send private message AIM Address MSN Messenger
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Tue Mar 16, 2004 11:55 pm    Post subject: Reply with quote

Well you could have a popup that comes up, or a little message box, but I can only think of one way to do the actual loding page; which takes some serious PHP skills.

If you would like to use the popup or message box, I can help you with that.

Also, to prevent multiple submissions, you can download a script that disables the "Submit" button after being hit once.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Mar 18, 2004 5:37 pm    Post subject: Re: Would like page inbetween loading page Reply with quote

lestat,

You can do it using Javascript (by changing the onsubmit event). Another method is the following: instead of having the submit action directly called (action.php for example), the submit action will be wait.php. wait.php will display the small message and redirect to action.php .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Thu Mar 18, 2004 11:32 pm    Post subject: Reply with quote

That was what I was referring to when I said "...one way to do the actual loding page..." What I didn't know how to do, though, was carry over the form data. Such as: If you enter data in a form, and hit submit, it goes to a waiting page, and then when it goes to the actual page where the information gets processed, how does the information get retained?
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group