Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Pausing a script


Schoolbag - 1:15 am on Nov 25, 2003 (gmt 0)


Hi and thank you for the reply,

Shouldnt the script run like this?:

echo "All Done!"; <---- prints to browser

sleep(5); <---- pauses the program

header("location: [someplace.com...] <--- then does


But, the script sleeps, and THEN it runs.

thanks!


Thread source:: http://www.webmasterworld.com/php/2154.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com