<?php require_once '../include.php';$username=$_POST['username'];$password=md5($_POST['password']);$verify=$_POST['verify'];$verify1=$_SESSION['verify'];if($verify==$verify1){ $sql="select * from imooc_admin where username='$username' and password='$password'"; $res=checkAdmin($sql); var_dump($res);}else { echo "<script>alert('验证码错误');</script>"; echo "<script>window.location='login.php';</script>";}
- 4 回答
- 0 关注
- 1886 浏览
添加回答
举报
0/150
提交
取消