|
 |
14³â Àü |
<?
function authenticate()
{
Header( "WWW-authenticate: basic realm=\"ADMIN¿µ¿ª\" ");
Header( "HTTP/1.0 401 Unauthorized");
echo("ÀÌ°÷¿¡ µé¾î¿À½Ã·Á¸é °ü¸®ÀÚ ¾ÆÀ̵ð ¾ÏÈ£°¡ ÇÊ¿äÇÕ´Ï´Ù.");
exit;
}
if(!isset($PHP_AUTH_USER) || ($PHP_AUTH_USER!='id' || $PHP_AUTH_PW!='password')) {
authenticate();
}
?>
|
|
̵̧ : 318 |
̵̧
¸ñ·Ï
|
|