Click to See Complete Forum and Search --> : php delayed redirect ?
I s there any way to do a delayed redirect with php ?
I have an echo showing results from a form page and I want to use a delayed redirect after say 10 seconds can and if so how is this done thanks...
PunkSktBrdr01
08-21-2003, 04:12 PM
You cannot do this in PHP. There is a way to do this in JavaScript, but I'm not that good at JavaScript, so you should post in the JavaScript forum.
You can do it with plain HTML:
<meta http_equiv="refresh" content="10;url=somepage.php">
That will forward you to somepage.php in 10 seconds.
thanks guys the plain ole html will do just fine...
theuedimaster
07-27-2005, 11:03 PM
Did you know that this is the only place on the web to find an answer to the redirect without javascript question? :) Good job Pyro!
P.S. You made a minor mistake
<meta http_equiv="refresh" content="10;url=somepage.php">
instead of an underscore you're supposed to put a dash
<meta http-equiv="refresh" content="10;url=somepage.php">