PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2013-10-04 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 709 All time: 4,432 This week: 980Up
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: 6 packages by
Country: Mexico Mexico
Age: 29
All time rank: 122314 in Mexico Mexico
Week rank: 383 Up5 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:709
This week:0
All time:4,432
This week:980Up