Chapter 4: Building a Members-Only Website

In This Chapter

arrow.png Understanding the concepts involved in authentication and authorization

arrow.png Adding a user database

arrow.png Building login page functionality

arrow.png Authenticating users

arrow.png 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:

check 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.

check Confidentiality: Many websites need to restrict information to ...

Get PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies 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.