PHP Classes

PHP Generate Unique ID from String: Generate unique identifier strings

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 243 All time: 7,956 This week: 168Up
Version License PHP version Categories
generate-id 1.0.0GNU General Publi...5PHP 5, Text processing
Description Author

This class can generate unique identifier strings.

It can take as parameters string prefix, an id number and a given string length.

The class combines the prefix and the ID number and generates a string with the given length if necessary padding the id number with zeros.

Picture of Rongala Prasad
  Performance   Level  
Name: Rongala Prasad <contact>
Classes: 1 package by
Country: India India
Age: 30
All time rank: 3974274 in India India
Week rank: 587 Up35 in India India Up

  Files folder image Files  
File Role Description
Plain text file example.php Example Example file
Plain text file GenerateID.php Class GenerateID class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,956
This week:168Up
 User Ratings  
 All time