Created
February 16, 2012 15:26
-
-
Save awrowse/1845607 to your computer and use it in GitHub Desktop.
PHP 401 Return
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($_SERVER['SERVER_PROTOCOL'] . ' 401 Unauthorized', true, 401); | |
die('401 Unauthorized'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment