Chapter 4: Building a Members-Only Website
In This Chapter
Understanding the concepts involved in authentication and authorization
Adding a user database
Building login page functionality
Authenticating users
Using PHP’s mail function
Many websites are secret — restricted to only authorized users — or have secret sections. Such websites require users to log in before they can see the secret information. Here are some examples of situations in which websites might restrict access:
E-commerce administration: Many online merchants require customers to log in so that their information can be stored for future transactions. The customer information, particularly financial information, needs to be protected from public view.
Confidentiality: Many websites need to restrict information to ...