PHP Classes

Generate Number Code: Generate configurable random number code

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 752 All time: 4,478 This week: 560Up
Version License Categories
gnc 1.0Artistic LicenseMath
Description 

Author

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

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:752
This week:0
All time:4,478
This week:560Up
User Comments (1)
good class for random code generation.
16 years ago (hafizshahid)
70%StarStarStarStar