时间:2021-07-01 10:21:17 帮助过:20人阅读
include('config.php');
$sql="select * from admin where name ='$_SESSION[ui]'";
$query=mysql_query("$sql");
$row=mysql_fetch_array($query);
$uus= is_array($row);
$pps= $uus ? $_SESSION['shell']==$row['password'] : FALSE;
if($pps){
echo $_SESSION['ui'];
}else{
echo "无权限访问";
exit();
}
?>