用户验证
时间:2006-11-06 来源:nothing9
数据库连接
用户验证
password==$password)
{
$_SESSION['adminname']=$username;
header("location:index.php");
}
else
{
echo "alert('Password Check Error!');location.href='login.php';";
}
}
else
{
echo "alert('Username Check Error!');location.href='login.php';";
}
}
else
{
echo "alert('Database Connection Error!');location.href='login.php';";
}
?>
相关阅读 更多 +
排行榜 更多 +