Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Help with my password reset script?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #247176
    cscodismith
    Participant

    I am creating my reset password script for my registration page and am have successfully made it so when users get prompted to the forgot password? page and insert an email in the form there, they get sent an email with a link & a code attached onto that link so it would look something like http://localhost.com/forgot_password.php?code=545647687as56d4a1 and the code also gets inserted in the same column as the email that they posted in the form.

    Now I am stuck on how I can use that code to validate which account it’s from and allow the user to see another form where they will input a new password and confirm it. After they set new password, the hashed password will replace the previous one in the database of that account. I am not sure how to take the code i’ve written here and use it to validate which account it’s from and update password of that account.

Viewing 1 post (of 1 total)
  • The forum ‘Other’ is closed to new topics and replies.