##Header Refresh This will help you to redirect created by Shaz3e
Last active
August 29, 2015 14:00
-
-
Save Shaz3e/11182437 to your computer and use it in GitHub Desktop.
Header Refresh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = 'http://www.shaz3e.com'; // replace this http://www.shaz3e.com to where you want to redirect | |
header("Location: {$url}"); // it will redirect to $url as soon as the code loaded by the browser | |
$time = 5; // time of refresh the page | |
header("Refresh:{$time}; url={$url}"); // it will redirect to $url as soon as $time passed | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment