search

Home  >  Q&A  >  body text

What the hell is this?

In the database, logging in with the administrator who has been set up shows that the password is incorrect; when the parameter is changed from 1 to 0, that is, when the user becomes an ordinary user, you can log in again. The source code downloaded from https://www.php.cn/course/902.html. l.pngr.png

阿瑟斯阿瑟斯822 days ago1011

reply all(3)I'll reply

  • autoload

    autoload2022-08-15 09:30:39

    The password is not modified like this. Now the database directly stores the clear text password?

    image.png

    are all encrypted by md5. There must be problems if you change them directly. Good *** video

    reply
    1
  • 阿瑟斯

    Can you remove md5 first, and then add md5 after inserting and modifying the database?

    阿瑟斯 · 2022-08-15 09:45:10
    阿瑟斯

    Thank you very much, sir, the problem is solved

    阿瑟斯 · 2022-08-15 11:14:07
  • Cancelreply