May 2003
Intermediate to advanced
592 pages
14h 28m
English
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, although this chapter will place them all within the same context, using a consistent programming theory.
The application will have two aspects to it: a public side and an administrative one. Public users will be able to register, log in, log out, change their password, and reset their password (should it be forgotten). The administrative side will just display a list of registered users. The public side will use sessions, requiring a cookie to be sent, while the administrative pages will be protected by an HTTP ...