SA-Encrypt Password NOT sending email
Security Assist with the newPW.php file! I have ran through the tutorials for security assist and user level authentication (4 times now) and I have read through forums, posts & threads for the past 4 hours trying to figure out the following:
1) If I go to login page and login with correct username and password stored in my visitors table then everything works great.
2) If I go to login page and enter my username and randomly type a password I am taken to the visitors_emailPW.php. I enter the email address associated with the account. Click send and I am returned to the login page.
No email arrives, but the password value in the database is a long ass string of numbers (meaning it has been encrypted).
3) If I take and copy that long number and paste it into the login page password field and using my username, then I am redirected to the profile page where I can reset my password. Nothing happens and the database is not updated.
I have tried everything.... I even had my old PHP e-commerce teacher try to help me with this and no luck!!!! I have attached the login page, emailPW page, update page and new password page. Please help me if you can!!!