I am new to PHP and so far created a login, register and a forgot password where currently the user is sent their password from the MySQL table. I have now encrypted the password using sha1 . I am currently writing code so:
When the user clicks on forget password link they enter username and email address (validated).
I am currently finding it difficult to then send them a url link in the sent email to direct them to a page to reset.
Any help would be much appreciated (code snippets, tutorials, links to methods ect.)
Ta