Welcome to WebmasterWorld Guest from 54.161.255.61

Forum Moderators: coopster & jatar k

PHP function

   
5:38 pm on Jan 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there a function to delay output from a form. In other words I want to make it look like it's a strenuous process and not spit the answer right back at the user.
5:52 pm on Jan 24, 2002 (gmt 0)

10+ Year Member



Take a look at the function sleep()

void sleep(int seconds)
The sleep function delays program execution for the given number of seconds.

or

void usleep(int micro_seconds)
The usleep function delays program execution for the given number of micro_seconds.

noSanity

6:12 pm on Jan 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Great.
Now if we took it one step further and added the little pop up window that says..."We're processing your request.." like you see at some of the reservation booking sites. I think this is js?
6:15 pm on Jan 24, 2002 (gmt 0)

10+ Year Member



Now for that... that is a normal thing i do... first i display my wait page, which has a hidden form, and a javascript that says "onLoad='document.form.submit()'"

noSanity

 

Featured Threads

Hot Threads This Week

Hot Threads This Month