Created
November 28, 2015 19:21
-
-
Save lynettechandler/f4fca7e300d61d2534ee to your computer and use it in GitHub Desktop.
PHP header redirect
This file contains 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 | |
header("Location: http://www.example.com/"); /* Redirect browser */ | |
/* Make sure that code below does not get executed when we redirect. */ | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment