lylme_spage/include/member.php

11 lines
261 B
PHP
Raw Normal View History

2022-02-19 23:39:52 +08:00
<?php
if(isset($_COOKIE["admin_token"]))
{
$token=authcode(daddslashes($_COOKIE['admin_token']), 'DECODE', SYS_KEY);
list($user, $sid) = explode("\t", $token);
2022-03-19 21:53:07 +08:00
$session=md5($conf['admin_user'].$conf['admin_pwd']);
2022-02-19 23:39:52 +08:00
if($session==$sid) {
$islogin=1;
}
}
?>