53GB

How To Create A Forgotten Password System In PHP | Password Recovery By Email In PHP | PHP Tutorial



How To Create A Forgotten Password System In PHP | Password Recovery By Email In PHP | PHP Tutorial

In this PHP tutorial you will learn how to create a forgotten password system in PHP. To follow this tutorial you only need to have basic knowledge in PHP and a login system ready. We will be creating our password recovery system using PHP tokens which is a method we use to authenticate the correct users who try to reset their password.

➤ CHAPTERS

(00:00:00): Introduction
(00:00:31): Ways to make a Password Recovery system
(00:03:51): What is a token?
(00:04:50): Why PHP e-mails sometimes doesn’t work
(00:06:33): Demo of what we are going to build
(00:09:51): Creating the “Recover password request” HTML form
(00:15:55): Creating the Token PHP script & database table
(00:42:18): Creating the Password Recovery e-mail
(00:50:48): Creating the “Reset password” HTML form
(01:24:22): Testing our Password Recovery system!

➤ OTHER LINKS

My PHP Login System Tutorial: https://www.youtube.com/watch?v=LC9GaXkdxF8&t=5444s
Setting Up A PHP Mail Server Using Gmail and PHPMailer: https://www.youtube.com/watch?v=U13smZvdArI
PHPMailer Plugin: https://github.com/PHPMailer/PHPMailer

➤ HOW TO FIX ERRORS YOU MIGHT GET

▸”Mail doesn’t send”
This is very likely caused by you not having a mail server running that makes it possible to send emails using the build-in PHP mail() function. Fix this issue by setting up a mail server. I have provided links for this here in the video description. If you have a mail server running then check your code for errors.

▸”unexpected”
You made a typo in your code. Probably by forgetting to close something. Did you already check for any mistakes in your code? Well check again because it’s there somewhere 🙂

▸”HTTP ERROR 500″
HTTP ERROR 500 is a server error, meaning that you are most likely using an outdated version of apache or mysql. Try updating your servers and make sure that you are using the latest version of PHP.

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful 🙂

Material for this lesson: https://www.patreon.com/posts/lesson-material-42361704

Exit mobile version