CHAPTER 7

image

Authentication

“(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 encryption techniques

Verification and Sessions

Get Learn PHP 7: Object-Oriented Modular Programming using HTML5, CSS3, JavaScript, XML, JSON, and MySQL 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.