PHP: Complete Login and Registration System with PHP & MYSQL
4.4 (137 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,319 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
Bestselling
4.4 (137 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,319 students enrolled
Last updated 3/2017
English
Current price: $10 Original price: $200 Discount: 95% off
1 day left at this price!
30-Day Money-Back Guarantee
Includes:
  • 6 hours on-demand video
  • 3 Articles
  • 10 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • 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
  • System Security and in-depth Validation
  • Automatically Logoff Inactive Users
  • Send Account Activation Link by Email
  • Protecting Against CSRF Attack with Unique Token Generation
  • Password Recovery
  • Keep user Logged In (Remember Me)
  • Code Refactoring
  • Learn workflow
  • Write clean and reusable code
  • Prompt support and value for your money
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 21 April 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 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 

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

8. Deactivate Account

9. PHP Automate Task with Cron Job

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
Expand All 40 Lectures Collapse All 40 Lectures 06:02:28
+
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
+
Wrapping up - More From ICT Design HUB
12 Lectures 01:59:51

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

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

Bonus Lecture - Discounts
02:01
About the Instructor
Osayawe Terry Ogbemudia
4.4 Average rating
200 Reviews
3,093 Students
4 Courses
Fullstack Developer at Visual Math Interactive Sdn. Bhd

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.