登录 | 注册 | FAQ
Anonymous

PHP password_verify() does not work correctly?

+ 发表回复

2 篇帖子 分页: 1 / 1


PHP password_verify() does not work correctly?

Lemon » 周三 2月 07, 2018 11:06 am

Hey guys,

I am hashing passwords from users on my website here(marked):

https://picload.org/view/dagglcdi/hash.png.html

the password_verify() function is used when the user wants to login himself(marked):

https://picload.org/view/dagglcal/verify.png.html

but the result of password_verify() is bool(false), why?
头像

Lemon

  • 帖子: 1
  • 注册: 周三 2月 07, 2018 11:00 am

Re: PHP password_verify() does not work correctly?

Samantha14 » 周一 9月 03, 2018 7:31 am

I think the problem is with the column length you are using. According to PHP manual, it is recommended to store the result in a DB table that can expand beyond 60 characters. If that is not the problem, you might wanna hire a professional from here https://www.netguru.co/services to look into the matter.
头像

Samantha14

  • 帖子: 10
  • 注册: 周一 9月 03, 2018 6:46 am


+ 发表回复

分页: 1 / 1