PHP Classes

PHP UniqID Generator: Generate unique identifiers with random values

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 191 All time: 8,578 This week: 673Up
Version License PHP version Categories
uniqid 1.0.0Public Domain5.2.0PHP 5, Text processing


This class can generate unique identifiers with random values.

It can generate a unique identifier with random numbers with a range.

The class generates a string that may contain a given prefix, a random number based on the current time, the current IP address, and a suffix.

The returned values may be separated by a given delimiter. The range of values for the random number is configurable. The number in the identifier may be padded with zeros.

Picture of Till Wehowski
  Performance   Level  
Name: Till Wehowski <contact>
Classes: 30 packages by
Country: Germany Germany
Age: 45
All time rank: 107269 in Germany Germany
Week rank: 276 Up16 in Germany Germany Up
Innovation award
Innovation award
Nominee: 12x

  Files folder image Files  
File Role Description
Accessible without login Plain text file cl.UniqID.php Class class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,578
This week:673Up