Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (1) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 492 | All time: 5,841 This week: 425![]() |
Version | License | PHP version | Categories | |||
lou-auth-user 1.2 | Freeware | 5 | PHP 5, Databases, User Management |
Description | Author | ||||||||
This class can authenticate users stored in a MySQL database. |
|
This class performs the access control users on a system. This class can authenticate users in a database. it's performs a query to the database, retrieve the hashed password of the user account via e-mail. The class compares the typed password with the password database to verify that it is correct for the given user. EXAMPLE : $endereco = new Lou_Auth_User('mail@domain.com', 'xxxxxxxxxx'); var_dump($endereco->isAuthUser()); If you do not want to use the Lou_registo.php file, you can create the table "users" in the database "test" and visit the site http://online-code-generator.com/md5-hash-with-optional-salt.php to generate the md5 hash. Must then insert it into the database table. //criar tabela users 'CREATE TABLE IF NOT EXISTS users ( id INT(5) NOT NULL AUTO_INCREMENT, password VARCHAR(128) NOT NULL, email VARCHAR(255) NOT NULL, PRIMARY KEY(id), UNIQUE KEY(email) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1'; |
![]() |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() ![]() |
Aux. | An example for Lou_login.class |
![]() ![]() |
Example | An example for Lou_login.class |
![]() ![]() |
Doc. | Documentation |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.