PHP Classes

Generate Number Code: Generate configurable random number code

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 752 All time: 4,476 This week: 560Up
Version License Categories
gnc 1.0Artistic LicenseMath


This is a very simple class that can be used to generate random numbers.

It can generate a number with a fixed number of digits. Optionally it may return the number as a string padded with spaces or zeros.

Picture of Diego Szwebel
Name: Diego Szwebel <contact>
Classes: 1 package by
Country: Uruguay Uruguay
Age: 46
All time rank: 27524 in Uruguay Uruguay
Week rank: 307 Up1 in Uruguay Uruguay Up

  Files folder image Files  
File Role Description
Plain text file generateNumbreCode.class.php Class Generate Random Number Code
Accessible without login Plain text file Usage_Example.txt Example Usage example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,476
This week:560Up
User Comments (1)
good class for random code generation.
15 years ago (hafizshahid)