Answers for "http authentication library php 5"

PHP
4

php http authentication

// Check auth:
if ($_SERVER['PHP_AUTH_USER']){
	echo "Authorized";
} else {
    header('HTTP/1.1 401 Unauthorized');
	echo "Unauthorized";
}
Posted by: Guest on October-26-2021

Code answers related to "http authentication library php 5"

Browse Popular Code Answers by Language