Connexion | Inscription | FAQ
Anonymous

PHP password_verify() does not work correctly?

+ Publier une réponse

2 messages Page 1 sur 1


PHP password_verify() does not work correctly?

par Lemon » Mer Fév 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?
Avatar de l’utilisateur

Lemon

  • Messages: 1
  • Inscrit le: Mer Fév 07, 2018 11:00 am

Re: PHP password_verify() does not work correctly?

par Samantha14 » Lun Sep 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.
Avatar de l’utilisateur

Samantha14

  • Messages: 10
  • Inscrit le: Lun Sep 03, 2018 6:46 am


+ Publier une réponse

Page 1 sur 1