Databases: Access user Class
Olaf Lederer (contact me)
This package is meant to manage the registration of users of a site and restrict the access to the site pages to registered users.
The main features that it provides are:
- User login authentication verification
- New site member user registration
- Remember login information
- Account activation by sending a verification e-mail to the member address
- Page access restriction to site member users
- Forgotten password recovery by sending a message with a new password member e-mail address
- multi language message reporting
- level based page access destriction
- A new feature (since 1.7) is the ability to store the users profile data in the database.
- Since version 1.8: Access levels and a simple admin panel
The class uses MySQL to store the member users information and PHP sessions to keep track of the authenticated users.
The package comes with example scripts to demonstrate all the main features
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Good (87.6%)
| Good (86.2%)
| Sufficient (76.1%)
| Good (82.5%)
| -
| -
| Sufficient (68.3%)
| 218 |
Click here for detailed information about this class on phpclasses.org
Class
The (complete) class
Doc.
A user manual with examples
Doc.
The manual about the use of the update profil extension
Appl.
Form where to submit a new (lost) password
Appl.
Admin script to change important user data
Data
Notes about updates and changes
Data
SQL statement and country list
Conf.
Database configuration and some constant variables
Appl.
deafult page if access level is to low
Example
An example how to protect a page
Class
The extension which i used to handle the user's profile data
Appl.
Example for a password recovery
Example
Example to login an user
Appl.
use this script login and set the applications (msg) language
Appl.
Example to register users
Example
Use this page to test the class with redirect
Appl.
test script for checking the access level
Appl.
An example for updating a user
Appl.
Update form for user's data and profile
Data
The database table will hold the users profile data