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: 189 All time: 8,494 This week: 335Up
Version License PHP version Categories
uniqid 1.0.0Public Domain5.2.0PHP 5, Text processing
Description Author

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: 27 packages by
Country: Germany Germany
Age: 43
All time rank: 111370 in Germany Germany
Week rank: 15 Up2 in Germany Germany Up
Innovation award
Innovation award
Nominee: 9x

  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,494
This week:335Up
For more information send a message to info at phpclasses dot org.