Created
January 17, 2023 19:16
-
-
Save TaylorHawkes/44ba75de1e3e6292b527e8446eac110e to your computer and use it in GitHub Desktop.
php 404 page
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("HTTP/1.0 404 Not Found"); | |
echo '<html> | |
<head> | |
<meta http-equiv="Refresh" content="0;url=http://www.mysite.com/index.php?code=404" /> | |
</head><body></body> | |
</html>'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: https://www.grepper.com/tpc/php+404+page