Timed URL Re-Direction Code
Posted: Sat Dec 04, 2004 6:48 pm
When a user validates their account by their email i want the script they come to too forward to the index page after 5 seconds. Any idea how i could do this in php?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
header( 'refresh: 5; url=foo' );
echo '<h1>You will be re-directed in 5 seconds...</h1>';Code: Select all
<meta http-equiv="Refresh" content="4;url=http://www.domain.com/link.html">