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
StarStarStar 56%Total: 3,035 This week: 1All time: 1,209 This week: 560Up
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: 8254 in Israel Israel
Week rank: 106 Up1 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,035
This week:1
All time:1,209
This week:560Up
User Ratings User Comments (2)
 All time
Utility:70%StarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:65%StarStarStarStar
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1784
 
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