CHAPTER 4User Registration, Login,and Logout
In Chapter 3 we looked closely at the user authentication and authorization aspects of the web application. We learned that authentication is when a user proves they are who they say they are, while authorization determines what that user is and isn't allowed to do. We created the necessary database tables to hold user details as well as the code to manage the database records. We then used the Zend_Auth
and Zend_Acl
components of the Zend Framework to control which areas of the web site users can access.
In this chapter we will build on the code from Chapter 3 by implementing a user registration system. Once registered, users will be able to log in and update their details. This chapter covers everything ...
Get Practical Web 2.0 Applications with PHP 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.