Hi guys. In this tutorial we are going to create a secure login system with php and mysql.
We are gonna have a register page, a login page, a forgot password page, and an user account page where the user is going to be redirected when he logs in successfully.
Every input field will have a proper and secure validation, so you can easy implement the code in a live website.
This is the third and last video of a three series and we are going to see how to reset the user's password and send him an email with the new password.
Also we are going to code the delete account action.
To learn about prepared statements you can watch the video:
• How to write mysql prepared statement...
or read the article:
https://digitalfox-tutorials.com/tuto...
You can buy me a coffee and get the whole source code in a zip file.
The code is updated and uses the PHPMailer library to send emails.
https://www.patreon.com/Digitalfox13/...
If you don't know how to configure PHPMailer watch this video:
• Send Email from localhost with PHP us...
or
Read the article on my website.
https://digitalfox-tutorials.com/tuto...