Created
February 1, 2012 11:46
-
-
Save kopiro/1716707 to your computer and use it in GitHub Desktop.
Generate correctly 404-error via PHP
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 | |
header("HTTP/1.0 404 Not Found"); | |
die("<h1>404 NOT FOUND</h1>"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment