//在登陆后台页面
$_POST["code"];
if ($_POST["code"]==$_SESSION["authcode"]) {
}else{
echo "<script>alert(‘验证码错误‘);location.href=‘login1.php‘;</script>";
}
上传验证码
原文地址:http://www.cnblogs.com/index0629/p/8107870.html
//在登陆后台页面
$_POST["code"];
if ($_POST["code"]==$_SESSION["authcode"]) {
}else{
echo "<script>alert(‘验证码错误‘);location.href=‘login1.php‘;</script>";
}
上传验证码
原文地址:http://www.cnblogs.com/index0629/p/8107870.html