Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ajax_login.php中写错了 #1

Open
q724299720 opened this issue Jun 25, 2019 · 0 comments
Open

ajax_login.php中写错了 #1

q724299720 opened this issue Jun 25, 2019 · 0 comments

Comments

@q724299720
Copy link

$name=$_POST['name'];
$pw=md5($_POST['pw']);
if(isset($_POST['cookie'])) $cookie=$_POST['cookie'];
$sql="select * from user where name='$name'";

把$name 写成了$id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant