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: 190 All time: 8,540 This week: 216Up
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: 29 packages by
Country: Germany Germany
Age: 44
All time rank: 108669 in Germany Germany
Week rank: 20 Up4 in Germany Germany Up
Innovation award
Innovation award
Nominee: 11x

  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,540
This week:216Up