<?php
$uName=$_SESSION["$uName"];
if(strlen(trim($uName))<1)
{
?>
<script language="javascript">
alert("请先登陆!");
window.location.href="index.php";
</script>
<?php
}
?>
我写了这些,就连正确登录也无法登录,也变成跳出个“请先登录!”的弹窗,接着就返回我之前的主页了!
$uName=$_SESSION["$uName"];
if(strlen(trim($uName))<1)
{
?>
<script language="javascript">
alert("请先登陆!");
window.location.href="index.php";
</script>
<?php
}
?>
我写了这些,就连正确登录也无法登录,也变成跳出个“请先登录!”的弹窗,接着就返回我之前的主页了!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货