static function OutputHeaders($realm = "Login Required", $terminate = true)
	{
		header("WWW-Authenticate: Basic realm=\"".$realm."\"");
		header("Status: 401 Unauthorized");
		header("HTTP-Status: 401 Unauthorized");
		if ($terminate) die();
	}
static function OutputHeaders($realm = "Login Required", $terminate = true)
	{
		header("WWW-Authenticate: Basic realm=\"".$realm."\"");
		header("Status: 401 Unauthorized");
		header("HTTP-Status: 401 Unauthorized");
		if ($terminate) die();
	}
static function OutputHeaders ( $ realm = "Login Required" , $ terminate = true ) { header ( "WWW-Authenticate: Basic realm=\"" . $ realm . "\"" ) ; header ( "Status: 401 Unauthorized" ) ; header ( "HTTP-Status: 401 Unauthorized" ) ; if ( $ terminate ) die ( ) ; }
Send 401 headers to the browser
@param string message to output as "Basic realm" text/message (default "Login Required")
@param bool true to terminate php after outputting headers (default true)
Send 401 headers to the browser