Timed URL Re-Direction Code
Moderator: General Moderators
Timed URL Re-Direction Code
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?
Code: Select all
header( 'refresh: 5; url=foo' );
echo '<h1>You will be re-directed in 5 seconds...</h1>';you can also use
Code: Select all
<meta http-equiv="Refresh" content="4;url=http://www.domain.com/link.html">