Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Signup and Login with PHP and MySQL

Dave Hollingworth via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to create a secure signup, login, and logout system using PHP and MySQL in this comprehensive tutorial video. Explore best practices for user authentication, including server-side validation, password hashing, and database integration. Master techniques for preventing duplicate email registrations, implementing POST/Redirect/GET pattern, and utilizing sessions for user management. Enhance your web development skills by incorporating client-side validation with JavaScript and AJAX for real-time email verification. Follow along to build a robust user authentication system from scratch, covering everything from HTML form creation to database connectivity and security measures.

Syllabus

Introduction
Signup form HTML
Add classless CSS
Process form in PHP
Server-side validation
Hash the password
Create the MySQL database
Connect to the database from PHP
Insert a new record
Prevent duplicate emails
POST / Redirect / GET
Login form
Process the login form
Verify the password
Use the session for login
Add index page
Add logout page
Show logged-in user's name
JavaScript signup validation
Custom validation
Remote validation
Summary

Taught by

Dave Hollingworth

Reviews

Start your review of Signup and Login with PHP and MySQL

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.