CHAPTER 14

images

Registration and Login

A social network is built around the concept of users with profiles. Profiles are a place for users to share with other users, and in order for users to have profiles they need to have user accounts. In this chapter, we will be creating the pages and classes required for users to be able to create accounts, and log in to those accounts.

Goals

  • Users need to be able to register new accounts. This will involve a form that they need to complete. After they have completed it, a new database row will be created with the information, and they should be able to log in.
  • Naturally, this means users need to be able to ...

Get Pro PHP MVC 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.