JDT |
FREE Downloads |
|
Using PHP and MySQL to Create a User Authentication System - Part 1 - Introduction |
||||
|
When developing dynamic web sites, it is often necessary to provide some kind of user authentication to make certain parts of the site available only to registered users of that site. Many sites have 'members only' areas, for example, access to forums is often protected. Getting visitors to register is a good way of building up a community of users, but your content needs to be good enough to keep them coming back. In this set of tutorials we will look at a user authentication system that has been developed using PHP and MySQL. The system is available as a free download. This is also the user authentication system used by Earnings Tracker, JDT's free accounting / bookkeeping software tool for contractors and freelancers. The FilesAt the centre of the authentication system is the user class (user_class.php), which contains methods (functions) to:
In addition to the user class file, there are several other files that form part of the user authentication system, many of which interact with the user class file. The complete list of files is:
Author: Backrubber Reference: user_class.php is based on functions described in the book 'Apache, MySQL, and PHP Web Development for Dummies', by Jeff Cogswell (ISBM 0-7645-4969-3). Go back to MySQL Tutorials home page Go back to Tutorials home page
|
|