16 Example—User Registration
The second example in the book—a user registration system—is one of the more common uses of PHP and MySQL. Most of the scripts developed here have been introduced and explained in previous chapters, as the registration, login, and logout processes make for good examples of many concepts. But this chapter will place all of that within the same context, using a consistent programming theory.
Users will be able to register, log in, log out, and change their password. One feature not shown elsewhere will be the ability to reset a password, should it be forgotten. Another feature will be the requirement that users activate their account—by clicking a link in an email—before they can log in. Once the user has logged ...
Get PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide 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.