Skip to main content
1 vote

PSET7: How to get a user's password from users table?

if (password_verify($_POST["password"], $row["hash"])) You can use this function to verify, you can see this login.php aswell.
Balanagu S Krishna Chaitanya's user avatar
1 vote

PSET7: How to get a user's password from users table?

Before you can add a feature to allow users to reset a forgotten password, you will need to add a simpler feature: create a Controller and View that will allow an authenticated user (already logged in)...
hotwebmatter's user avatar
  • 3,050
1 vote
Accepted

PSET7: How to get a user's password from users table?

From php manual password_hash() creates a new password hash using a strong one-way hashing algorithm. one-way being the operative. More info on cryptographic hashing here. Or check out any of ...
DinoCoderSaurus's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible