Entrar | Registrar | FAQ
Anonymous

PHP password_verify() does not work correctly?

+ Postar uma resposta

2 Mensagens Página 1 de 1


PHP password_verify() does not work correctly?

por Lemon » Qua Fev 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 usuário

Lemon

  • Mensagens: 1
  • Data de registro: Qua Fev 07, 2018 11:00 am

Re: PHP password_verify() does not work correctly?

por Samantha14 » Seg Set 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 usuário

Samantha14

  • Mensagens: 10
  • Data de registro: Seg Set 03, 2018 6:46 am


+ Postar uma resposta

Página 1 de 1