PHP Projects: How to Create a Secure, Session-Based Login Script | John Morris | Skillshare

PHP Projects: How to Create a Secure, Session-Based Login Script

John Morris, I teach aspiring developers how to code

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
5 Videos (2h 7m)
    • Introduction

    • Lesson 1: Create a Simple, No Database Login

    • Lesson 2: Create an Advanced, Database-Driven Login

    • Lesson 3: Add In a Remember Me Feature

    • Lesson 4: Create a Secure Password Reset

19 students are watching this class

About This Class

You'll learn how to create a secure, session-based login system in PHP. There's two versions: 1) a simple non-database version we'll create first to quickly over all the base concepts. Then 2) we'll convert that into full-fledged database-driven login script complete with:

  • Secure, session-based user access
  • User registration
  • Remember me feature
  • Email-based password reset
  • Cryptographically secure tokens
  • SQL injection prevention
  • Install script

And more.


This is an advanced course. The topics covered here assume a certain level of PHP knowledge. It's frankly only a small percentage of developers in the world who know how to do this properly. I strongly recommend you take my PHP 101 course BEFORE taking this one. Only jump into this when you're ready to challenge yourself and take your PHP skills up a notch.

Comes with full source code in the Class Project section.





  • --
  • Beginner
  • Intermediate
  • Advanced
  • All Levels
  • Beg/Int
  • Int/Adv


Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

John Morris

I teach aspiring developers how to code


Click here to start this class

See full profile

Report class