<?
session_start();
if(!empty($_POST["submit"])) //如果提交表单
{
//在数据库里查询用户密码...
if(mysql_num_rows($result)>0)
{
session_register("Account","password");
//注册登陆变量...
echo "<script>top.location.href='$to';</script>";
//跳转到$to...
}
exit;
}
session_start();
if(!empty($_POST["submit"])) //如果提交表单
{
//在数据库里查询用户密码...
if(mysql_num_rows($result)>0)
{
session_register("Account","password");
//注册登陆变量...
echo "<script>top.location.href='$to';</script>";
//跳转到$to...
}
exit;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货