Identificarse | Registrarse | FAQ
Anonymous

PHP password_verify() does not work correctly?

+ Publicar una respuesta

2 mensajes Página 1 de 1


PHP password_verify() does not work correctly?

por Lemon » Mié Feb 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 Usuario

Lemon

  • Mensajes: 1
  • Registrado: Mié Feb 07, 2018 11:00 am

Re: PHP password_verify() does not work correctly?

por 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 Usuario

Samantha14

  • Mensajes: 10
  • Registrado: Lun Sep 03, 2018 6:46 am


+ Publicar una respuesta

Página 1 de 1