Page 1 of 1
redirecting
Posted: Sun Oct 27, 2002 7:31 pm
by cheatboy00
um i have no idea how to do a timed redirect after 10 seconds
like i want to output some text wait 10 seconds then ridrect to another page... and do stuff there.... help please??
Posted: Sun Oct 27, 2002 7:56 pm
by Gen-ik
This should be a JavaScript question really but...
all you have to do is add this line of code into the <head> of your page.
<META HTTP-EQUIV="REFRESH" CONTENT="20;URL=TARGET.html">
Replace the 20 with the number of seconds you want the page to wait for.. and replace TARGET.html with the html (or php) page you want to jump to.
Hope this helps.
Posted: Sun Oct 27, 2002 8:02 pm
by cheatboy00
sweet thanks
Posted: Sun Oct 27, 2002 8:21 pm
by m3mn0n
Yea with header() you can only do instant transportations since PHP
is a
preprocessor, meaning before the page displays it's all executed.
