lylme_spage/include/member.php
2022-02-19 23:39:52 +08:00

12 lines
277 B
PHP

<?php
if(isset($_COOKIE["admin_token"]))
{
$token=authcode(daddslashes($_COOKIE['admin_token']), 'DECODE', SYS_KEY);
list($user, $sid) = explode("\t", $token);
$session=md5($conf['admin_user'].$conf['admin_pwd'].$password_hash);
if($session==$sid) {
$islogin=1;
}
}
?>