timeout? pause? help?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

timeout? pause? help?

Post by Illusionist »

Does anyone know if there is a function in PHP that is like a timeout or pause? I would really liek to keep any and all Javascript out of my pages, and would really like it if PHP had a pause/timeout function.

What i'm wanting to do is show a page for like 5 seconds, its confimation page that the person's file ahs been saved, then redirect them....
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

[php_man]sleep[/php_man]
also take a look at <META HTTP-EQUIV=Refresh CONTENT="10; URL=http://somewhere.net/"> html tag
Post Reply