PHP: Complete Login and Registration System with PHP & MYSQL
4.7 (183 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,516 students enrolled
Wishlisted Wishlist

Please confirm that you want to add PHP: Complete Login and Registration System with PHP & MYSQL to your Wishlist.

Add to Wishlist

PHP: Complete Login and Registration System with PHP & MYSQL

Build a Complete & Secure PHP Login and Registration System with PHP and MySQL - Email Activation and lots more
4.7 (183 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,516 students enrolled
Last updated 5/2017
English
Current price: $10 Original price: $200 Discount: 95% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 7.5 hours on-demand video
  • 3 Articles
  • 10 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
What Will I Learn?
  • Code a registration form with PHP
  • Code a secured Login Form with PHP
  • Create and manipulate database content with PHP
  • PHP System Security and in-depth Validation
  • Automatically Logoff Inactive Users with PHP code
  • Send Account Activation Link by Email using PHP
  • Protecting Against CSRF Attack with Unique Token Generation
  • Password Recovery, bad, good and best options in PHP
  • Keep user Logged In (Remember Me) with PHP
  • Code Refactoring
  • Learn PHP basic workflow
  • Write clean and reusable PHP code
  • Prompt support and value for your money
  • Access to my Introduction to Programming in PHP Course on Devscreencast dot com
  • Token Based Password Reset Functionilty
View Curriculum
Requirements
  • Text Editor
  • Understand Basic HTML
  • Already Setup PHP Development Environment running PHP 5.5 or higher, with little understanding of PHP (e.g. you should know what is a variable, an array just basic knowledge)
Description

THE MOST UP-TO-DATE AND COMPREHENSIVE PHP REGISTRATION AND LOGIN SYSTEM COURSE ON THE INTERNET.

CODE IS COMPATIBLE WITH PHP 5.5, 5.6 AND 7 THE LATEST VERSION.

LAST UPDATED 9 May 2017

PHP Login and Registration system step by step -> One of the skill-set that is a must have for any PHP web developer is the ability to code a secure registration and login system. This course is designed to equip you with the fundamental skills needed to create a registration and login system using PHP and MYSQL Database.

Additional resources, quizzes, and assignments will be given throughout this step by step PHP Login and Registration system course, to continually test your knowledge.

You will not just learn how to write a PHP login and registration script but how to build and secure a PHP web application piece by piece.

Some Main Features:

1. Account activation by email, using PHPMailer PHP library 

2. PHP Remember me functionality

3. Secured Password hashing with PHP hash algorithm

4. PHP Password Reset / recovery by email system

5. Protecting Against CSRF Attack with Unique secured PHP Token Generation

6. Custom Functions in PHP (A lot)

7. Change Password in PHP

8. Deactivate Account in PHP

9. Automate Task with Cron Job using PHP 

10. Constantly update mostly based on genuine request from students 

After completing this step by step PHP Login and Registration system course, you would have gained some useful and practical skills that will help you in your goal to become a web developer or give you an edge in your current job.

Timely Support !

If you ever encounter any problem why taking this course, don't worry I am always here to help and guide you through.

Who is the target audience?
  • This course is for anyone interested in understanding how user authentication works in PHP
  • Want to enhance your PHP skill set as a web developer
Students Who Viewed This Course Also Viewed
Curriculum For This Course
48 Lectures
07:26:17
+
Introduction to the Course
1 Lecture 07:01

I'll go over the broad topics we'll cover in the course, as well as how the finish product of the authentication system that we will develop in the course. I'll also covered what is required to take this course, target audience and the benefits that will be derived from taking this course.

Preview 07:01
+
Database Setup
3 Lectures 14:14

In this lectures we'll go over creating a database and the table for storing user information and also create the project files.

Database Setup and Directory Structure
05:01

Test your knowledge of PDO

Database Connection Quiz
4 questions

In this lecture we'll code our database connection script and test our connection

Database Connection Script with PDO
09:13

Test students understanding of the concepts discussed in this section

Practice Activity
1 page
+
Building a Registration and Login System
8 Lectures 01:22:55

In this lectures we'll design the markup for registration and login form, index and logout page.

Preview 07:38

In this lecture we'll code the registration form and create demo user accounts
Registering Users
13:48

In this lecture we'll learn how to validate our registration form

Form Validation - Part 1
08:25

In this lecture we'll learn how to refactor our validation code and improve the functionalities

Form Validation - Part 2
09:51

In this lecture we'll code the login form and signin users
Signing In
17:07

Creating a simple contact form to collect username, email address and message, this activity will help reinforce the skills learnt in this section such as validating HTML form, connecting and adding records to the database

Practice Activity
1 page

In this lecture you will learn how to add password reset functionality to the auth system while in option 2 (Lecture 29) you will learn how to send password reset link to users email address and program the recovery script.

Password Reset - Option 1
09:54

In this lecture you will learn how to use PHP Custom Functions to make code more efficient and clean.

Using PHP Custom Functions for Code Refactoring
16:12
+
User Interface Design - Bootstrap
5 Lectures 41:18
Lets take a break from coding and spend some time improving the user interface of this system.

In this lecture we'll pull in Bootstrap files and set up things

Enhancing the User Interface - Basic Template
09:20

Enhancing Login, Signup and Reset Password Forms

Preview 09:58

Enhancing the Menu and Messaging
Enhancing the User Interface - Menu and Messaging
05:15

Learn how to  Automatically Activate current page Menu.
Enhancing the User Interface - Activating Menu Items Automatically
04:00

Have you tried Sweet Alert? You will love it.
Enhancing the User Interface - Elegant Messaging With Sweet Alert
12:45
+
Adding More Functionalities
2 Lectures 24:06

Lets add the ability to remember logged in users when they choose to

Remember Me (Keep User Logged in)
13:33

In this lecture you will learn how to guard any PHP system and logout users automatically after a predefined period of inactivity.

Enhance System Security and Logout Inactive Users Automatically
10:33
+
Profile
5 Lectures 44:16

Students will learn how to display registered users information from the database

View Profile
06:40

Students will learn how to allow registered users update their record in the database using HTML form

Update Profile
11:12

In this lecture you will learn how to add and display a default profile picture for registered users

Display Default Profile Picture for Users
05:26

In this lecture you will learn how to ensure that user upload only specific file type
Limit File Upload to be only Valid Image
11:25

In this lecture you will learn how write a function that allows users to add a picture to their profile and moves the picture to a location that we define.

Allow Users to Upload Profile Picture - Option 1
09:33

This quiz will test your understating of PHP Super Global Variables

Super Global Variables
4 questions
+
Account Activation
4 Lectures 26:32

In this lecture you will learn how to use PHPMailer class and Mandrill API for sending Email from localhost using WAMP Server, in the next lecture you will learn to how to prepare and send activation link to user email address.

P.S: As at the time of recording Mandrill API was still free, consider using the GMAIL option (See the PDF file for instruction).

Setup PHPMailer and Mandrill API on localhost (WAMPSERVER)
07:10

Setup PHPMailer to Send Mail from localhost with XAMPP Server and GMAIL Option
00:11

In this lecture you will learn how to prepare and send account activation link to users as they register, you will also learn to change the database structure to accommodate changes.

Prepare and Send Activation Link to registered User Email Address
08:56

In this lecture you will learn how to program account activation script and also update the login script to allow access to only those users that have activated their account.

Program Activation Script and Update Login Script
10:15
+
Security and more features
14 Lectures 02:45:53

In this lecture you will learn how to send password reset link to users email address and code the password recovery script.

Password Reset - Option 2 (Send Password Reset Link to Email Address)
10:36

Invalid Username Bug Fix (Highlighted by a Student.

Invalid Username Bug Fix (Highlighted by a Student)
02:37

In this lecture you will learn about Cross Site Request Forgery (CSRF) Attack and how to secure your PHP web app against such attack.

Protecting Against CSRF Attack
19:17

In this lecture you will learn how to add change password functionality to the system so that registered members can change their login password.

Change Account Password
11:54

In this lecture you will learn how to program the functionality to allowregistered users deactivate their account and preserve the account information for 14 days (Facebook style).

Deactivate Account (Facebook Style)
15:46

In this lecture you will learn how to code the functionality to Auto Activate a users account if the user attempts to login within 14 days after deactivating their Account.

Update Login Script to Auto Login Users if they Attempts to Login Within 14 days
09:08

In this lecture you will learn how to delete the account and related properties of a user who has deactivated their account and has not logged in again after 14 days.

Permanently Delete Deactivated Account after 14 days
16:54

In this lecture you will learn to code the functionality that will auto delete accounts that has not been activated 3 days after registration, in order to keep the system clean.

Auto Delete non-activated Accounts 3 days After Signup
09:18

In this lecture you will learn how to upload a system developed locally to a remote server so that it can be accessible over the internet.

Uploading the system Online (www)
15:35

In this lecture you will learn how to automate task using Cron Jobs. We create a PHP cron job task that will run once daily calling our script that will delete all non-activate account 3 days after registration and accounts that has deactivated and the user did not logged in after 14 days. 

This is a safe and easy way to keep our database clean and free from inactivate accounts that can create a loophole in our system.

Automating Task with Cron Job
06:31

In this lecture, you will learn how to enhance the security of the current password reset functionality using time based token.  We start be setting up the database, generating the token and sending it to the user’s email. In the next video we update the password reset script to accommodate changes.

Time Based Password Reset Token - Part 1 (Security Update)
14:21

In this lecture you'll update the password reset script, to accommodate changes made in the previous lecture.

Time Based Password Reset Token - Part 2 (Security Update)
16:06

In this lecture you'll learn how to delete already used or expired password reset token.

Time Based Password Reset Token - Part 3 (Security Update)
04:58

In this lecture we shall update the current flow for profile picture upload to make it more flexible and efficient. When a user upload  profile picture we rename it with a random string and store the path in the database and also delete any  old profile picture. 

Allow Users to Upload Profile Picture - Option 2
12:52
+
Interacting With Other Members
4 Lectures 35:32
Creating All Members Page
12:14

Creating user public profile
05:37

In this lecture we shall be fixing some bugs

Update Profile and Sanitize Email Bug Fixes
05:00

In this lecture, you learn how to secure project database and mail credentials using a configuration file.

Moving Credentials to a Configuration File
12:41
+
Wrapping up - More From ICT Design HUB
2 Lectures 02:15

The article will show you how to download the source code and stay up-to-date with updates and bug fixes automatically.

Downloading the Source Code
00:14

Checkout my other courses on devscreencast dot com, we are currently doing an MVC eCommerce store from scratch, go check it out

Bonus Lecture - Discounts
02:01
About the Instructor
Terry Ogbemudia Osayawe
4.6 Average rating
294 Reviews
5,304 Students
6 Courses
Sr. Backend Developer at Zapzapmath, Inc.

I am a professional computer scientist, web programmer and developer. My fields of expertise include Information Technology, Software Development and Web Programming. In 2007, I ventured into Software Programming and Database Administration. I graduated with a bachelor's degree in Software Engineering from University of East London, and I'm also a certified Oracle Database Professional (OCP).

I'm passionate about teaching and sharing my knowledge on various platforms. In 2008, I facilitated high-end trainings in Oracle Database, Linux Operating System, Oracle Financial 11i, and Web Design at KarRox and 2010 at NIIT. I am also the author of the best selling PHP user authentication course on Udemy.