PHP Classes

Login Script with PDO: Manage user accounts stored in a database with PDO

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 3,034 All time: 1,208 This week: 108Up
Version License PHP version Categories
login-script-pdo 1.0GNU General Publi...5.0PHP 5, Databases, User Management
Description 

Author

This package can be used to manage user accounts stored in a database with PDO.

It can connect to a given database using the PDO extension and perform several operations to manage user accounts. Currently it can:

- Insert new user records
- Authenticate a given user with a password and start a session
- End the logged user session
- Change the user e-mail or password
- Send an e-mail with a link to reset the user password

Picture of oran
Name: oran <contact>
Classes: 2 packages by
Country: Israel Israel
Age: 39
All time rank: 8264 in Israel Israel
Week rank: 438 Up3 in Israel Israel Up

Recommendations

What is the best PHP pdo user accounts class?
Manage user accounts

What is the best PHP user password manager class?
Let users set up user name, password and handle lost passwords

Details

To install run sql line : CREATE TABLE IF NOT EXISTS `users` ( `P_Id` int NOT NULL AUTO_INCREMENT, `username` varchar(200) collate utf8_unicode_ci NOT NULL, `password` varchar(200) collate utf8_unicode_ci NOT NULL, `email` varchar(254) collate utf8_unicode_ci NOT NULL, `regdate` varchar(200) collate utf8_unicode_ci NOT NULL, `CpassReqDate` varchar(200) collate utf8_unicode_ci NOT NULL, `voucher` varchar(200) collate utf8_unicode_ci NOT NULL, UNIQUE id (P_Id), UNIQUE username(username) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci

  Files folder image Files  
File Role Description
Accessible without login Plain text file changepass.php Example sampe change pass usage
Accessible without login Plain text file forgotpass.php Example forgot pass sample
Accessible without login Plain text file login.php Example sample login
Accessible without login Plain text file logout.php Example logout sample
Accessible without login Plain text file readme.txt Doc. sql query to open DB
Accessible without login Plain text file reg.php Example registration sample
Plain text file sys.class.php Class class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,034
This week:0
All time:1,208
This week:108Up
User Ratings User Comments (2)
 All time
Utility:75%StarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:68%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1309
 
Nice Job.
12 years ago (xcape)
60%StarStarStarStar
No proper DOC blocks, length of email field in database (varc...
14 years ago (master spasic)
25%StarStar