Zaloguj | Zarejestruj | FAQ
Anonymous

PHP password_verify() does not work correctly?

+ Odpowiedz

Posty: 2 Strona 1 z 1


PHP password_verify() does not work correctly?

przez Lemon » Śr lut 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 użytkownika

Lemon

  • Posty: 1
  • Dołączył(a): Śr lut 07, 2018 11:00 am

Re: PHP password_verify() does not work correctly?

przez Samantha14 » Pn wrz 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 użytkownika

Samantha14

  • Posty: 10
  • Dołączył(a): Pn wrz 03, 2018 6:46 am


+ Odpowiedz

Strona 1 z 1