Login   Register  
PHP Classes
elePHPant
Icontem

Class: Access user Class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Olaf Lederer  >  Access user Class  >  Download .tar.gz .zip  >  Support forum Support forum (55)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Access user Class
Base name: access_user
Description: Site user registration and page access restriction
Related classes: , , , , , , ,
Version: -
PHP version: -
License: BSD License
All time users: 20789 users
All time rank: 21
Week users: 22 users
Week rank: 96
Picture of Olaf Lederer
Author: Olaf Lederer is available for providing paid consulting. Contact Olaf Lederer .
Packages: 10 Browse this author's classes Browse this author's classes
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Age: 40
All time rank: 41 in The Netherlands The Netherlands
Week rank: 18 Down2 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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

 

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes

  Freshmeat project   Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
October 2004
Number 2
Site pages access restriction to authenticated users is common need that many Web applications have, for which there are many solutions. However, there are very few that provide a complete set of features that most application developers need to include.

This class provides a complete site membership management solution, that not only provides restriction of access to site pages to site users, but also includes other not less important features such as member registration with e-mail address verification and credentials recovery for users that forget their user names and passwords, all in a generic package that can be used by many types of sites.

Manuel Lemos

  Freshmeat project  
Project record: access_user
Popularity score: 97.37
Vitality score: 5.51

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (86.9%)
Good (86.1%)
Sufficient (75.8%)
Good (81.9%)
-
-
Sufficient (67.9%)
287
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file access_user_class.php Class The (complete) class
Accessible without login HTML file access_user_doc.htm Doc. A user manual with examples
Accessible without login HTML file access_user_profile_doc.htm Doc. The manual about the use of the update profil extension
Plain text file activate_password.php Appl. Form where to submit a new (lost) password
Plain text file admin_user.php Appl. Admin script to change important user data
Accessible without login Plain text file changes.txt Data Notes about updates and changes
Plain text file countries_table.sql Data SQL statement and country list
Plain text file db_config.php Conf. Database configuration and some constant variables
Plain text file deny_access.php Appl. deafult page if access level is to low
Plain text file example.php Example An example how to protect a page
Plain text file ext_user_profile.php Class The extension which i used to handle the user's profile data
Plain text file forgot_password.php Appl. Example for a password recovery
Plain text file login.php Example Example to login an user
Plain text file login_local.php Appl. use this script login and set the applications (msg) language
Plain text file register.php Appl. Example to register users
Plain text file testpage.php Example Use this page to test the class with redirect
Plain text file test_access_level.php Appl. test script for checking the access level
Plain text file update_user.php Appl. An example for updating a user
Plain text file update_user_profile.php Appl. Update form for user's data and profile
Plain text file users_profile_table.sql Data The database table will hold the users profile data
Plain text file users_table.sql Data sql statement for the user table

Download all files: access_user.tar.gz access_user.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.