PHP Classes

PHP Unique ID: Generate a unique identifier of the current access

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 781 All time: 4,348 This week: 673Up
Version License PHP version Categories
unique-id 1.0Freely Distributable5.0HTTP, PHP 5
Description 

Author

This class can generate a unique identifier of the current access.

It takes the identifier of the current user agent browser and the current access IP address and generates a string that identifies the current user accessing a site.

The class tries to figure the real IP address of user behind a proxy and filters it to assure it returns a valid IP address.

Picture of Oliver Leuyim Angel
  Performance   Level  
Name: Oliver Leuyim Angel <contact>
Classes: 7 packages by
Country: Mexico Mexico
Age: 37
All time rank: 114412 in Mexico Mexico
Week rank: 270 Up4 in Mexico Mexico Up

Details

free for all / free for use. The class have 3 functions. One to get the real ip, other to get some unique variants, the last one to get the unique id or token. is too easy to use. require php v5 or newer. Have the process of taking the data of the application or device is accessing and well we know that this is maybe generic and can be manipulated, also get the connection identifier that this also can be manipulated, also takes the time is accessing, also generates a random number and this is parsed to generate a token string, for last uses a php uniqid.

  Files folder image Files  
File Role Description
Plain text file class.uniqid.php Class The class file, where have all functions
Accessible without login Plain text file example.php Example Example for use this class
Accessible without login Plain text file Readme Doc. The documentation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:781
This week:0
All time:4,348
This week:673Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:50%StarStarStar
Documentation:41%StarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:3240