18. Example—User Registration

In This Chapter

Creating the Templates 560

Writing the Configuration Scripts 566

Creating the Home Page 574

Registration 576

Activating an Account 586

Logging In and Logging Out 589

Password Management 594

Review and Pursue 604

The second example in the book—a user registration system—has already been touched upon in several other chapters, as the registration, login, and logout processes make for good examples of many concepts. But this chapter will place all of those ideas within the same context, using a consistent programming approach.

Users will be able to register, log in, log out, and change their password. This chapter includes three features not shown elsewhere: the ability to reset a password, should it ...

Get PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fourth Edition 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.