© Steve Prettyman 2020
S. PrettymanLearn PHP 8https://doi.org/10.1007/978-1-4842-6240-5_8

8. Authentication

Steve Prettyman1 
(1)
Key West, FL, USA
 

(To Lisa) You got the brains and talent to go as far as you want and when you do, I’ll be right there to borrow money.

—Bart Simpson

Chapter Objectives/Student Learning Outcomes

After completing this chapter, the student will be able to
  • Define sessions and explain how they are used for authentication

  • Create a PHP program that authenticates user logon

  • Create a PHP program that registers users

  • Create a PHP program that will allow users to change their passwords

  • Create a PHP program that logs invalid login attempts

  • Create a PHP program that will use current password hashing techniques

Verification and Sessions

No ...

Get Learn PHP 8: Using MySQL, JavaScript, CSS3, and HTML5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.