homepage Welcome to WebmasterWorld Guest from 54.196.168.78
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP function
toolman




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

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.

 

nosanity




msg:1274731
 5:52 pm on Jan 24, 2002 (gmt 0)

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

toolman




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

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?

nosanity




msg:1274733
 6:15 pm on Jan 24, 2002 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved