Вход | Регистрация | FAQ
Anonymous

PHP password_verify() does not work correctly?

+ Ответить

Сообщений: 2 Страница 1 из 1


PHP password_verify() does not work correctly?

Lemon » Ср фев 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
  • Зарегистрирован: Ср фев 07, 2018 11:00 am

Re: PHP password_verify() does not work correctly?

Samantha14 » Пн сен 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
  • Зарегистрирован: Пн сен 03, 2018 6:46 am


+ Ответить

Страница 1 из 1