PHP Classes

PHP Secure Token Generator: Create and validate tokens stored in MySQL table

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-01-14 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 227 All time: 7,893 This week: 196Up
Version License PHP version Categories
itoken 1.0.0BSD License5PHP 5, Databases, Validation, Security
Description Author

This class can generate and validate tokens stored in a database.

It can generate a unique token and store it in a database table using PDO.

The token values can be valid for a given expiry time that by default it is 60 seconds.

The class can also validate the token value by checking if it exists and is still valid by looking at the token expiry time.

The token may also be refreshed to extend its lifetime, or destroyed so it is no longer valid.

  Performance   Level  
Name: Aleksandar Zivanovic <contact>
Classes: 11 packages by
Country: Serbia Serbia
Age: 24
All time rank: 19168 in Serbia Serbia
Week rank: 763 Up3 in Serbia Serbia Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example script
Plain text file iToken.php Class Main class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,893
This week:196Up