Revision: 61824
Updated Code
at January 16, 2013 22:20 by mortu
Updated Code
<?php if (!isset($_SERVER['PHP_AUTH_USER']) || !($_SERVER['PHP_AUTH_USER'] == 'xxx' && $_SERVER['PHP_AUTH_PW'] == 'xxx')) { header('WWW-Authenticate: Basic realm="DBU Manager"'); header('HTTP/1.0 401 Unauthorized'); echo 'Access denied'; exit(); } ?>
Revision: 61823
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 16, 2013 22:20 by mortu
Initial Code
<?php if (!isset($_SERVER['PHP_AUTH_USER']) || !($_SERVER['PHP_AUTH_USER'] == 'andreea' && $_SERVER['PHP_AUTH_PW'] == 'genevadot')) { header('WWW-Authenticate: Basic realm="DBU Manager"'); header('HTTP/1.0 401 Unauthorized'); echo 'Access denied'; exit(); } ?>
Initial URL
Initial Description
user authentification
Initial Title
PHP User authentification
Initial Tags
user
Initial Language
PHP