Entering the correct password still shows the wrong password
我爱Java
我爱Java 2018-02-19 20:46:34
0
4
1593

This is the code

if(md5($admin['username'].$pwd) != $admin['password'])

{

exit(json_encode(array('code' => 1,'msg' => 'Wrong password')));

}

After commenting, the login was successful


我爱Java
我爱Java

reply all(4)
Ayu_

How to change

ㅤ

How to solve it in the end


小明同学ROCK

The encrypted content may be inconsistent with the content or number of digits of the password saved in the database.

猪哥

Compare two values

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!