PHP Password Reset by Email

Опубликовано: 27 Июнь 2023
на канале: Dave Hollingworth
59,441
1.2k

Learn how to create secure password reset by email using PHP, MySQL and best practices.

This is part 2 of Signup and Login with PHP and MySQL:
‣    • Signup and Login with PHP and MySQL  

Please consider supporting my channel:
☕ https://ko-fi.com/davehollingworth

Code shown in the video:
‣ https://github.com/daveh/php-password...

Relevant documentation:
‣ https://github.com/PHPMailer/PHPMailer

Videos referenced:
‣ Signup and Login (part 1):    • Signup and Login with PHP and MySQL  
‣ Sending email with PHP:    • Send email with PHP | Create a Workin...  

00:00 Introduction
00:24 How it works
02:09 Starting point
02:17 Forgot password
04:08 Database changes
05:03 Send password reset
08:47 PHPMailer
13:25 Send reset email
14:17 Process link in email
16:42 Password reset form
17:49 Reset password
20:40 Summary

#PHP #MySQL #signup #login #passwordreset