This is a simple class can be used to authenticate users with records stored in a MySQL database table.
It looks up in a given MySQL table for the password of a given user, and checks if the password matches a given value entered by the user being authenticated.
If there is a record for the specified user and the password is correct, the class sets a session variable with the user name and returns the code 1. If the password is incorrect, it returns the code 2. If there is no user with the specified user name, it returns 0.
The class may also check encoded passwords stored after using the MD5 hash function.
|
|
| Name: |
The Login Class |
| Base name: |
login_class |
| Description: |
Autenticate users with records in a MySQL database |
| Version: |
- |
| PHP version: |
3.0 |
| Licenses: |
Free For Educational Use
Free for non-commercial use
GNU General Public License (GPL) |
| All time users: |
3702 users |
| All time rank: |
766 |
| Week users: |
2 users |
| Week rank: |
1363  |
| |
|
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Sufficient (66.7%) |
Not sure (58.3%) |
Not sure (58.3%) |
- |
- |
- |
Not sure (45.0%) |
1851 |
| Month: |
Not yet rated by the users |
| |
Applications that use this class |
|
|
| Link |
Description |
| Classified |
The Classified Website |

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|