PHP Classes

PHP Random Number Generator: Generate a random string based on Mersenne Twister

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
StarStarStar 59%Total: 469 All time: 6,016 This week: 404Up
Version License PHP version Categories
random-number-gen 1.0.0Free For Educatio...5Algorithms, PHP 5, Text processing
Description 

Author

This class can generate a random string based on Mersenne Twister algorithm.

It can generate a random text string of configurable length made of digits or upper and lower case letters.

The class can also include a list of given characters that can be included the generated string.

Picture of Er. Rochak Chauhan
  Performance   Level  
Name: Er. Rochak Chauhan <contact>
Classes: 54 packages by
Country: India India
Innovation award
Innovation award
Nominee: 15x

Winner: 3x

Example

<?php
require("PhpRandomNumberGenerator.inc.php");
$obj=new PhpRandomNumberGenerator();

$num=$obj->generateNumber();

echo
"<h2>$num</h2>";
?>


  Files folder image Files  
File Role Description
Plain text file PhpRandomNumberGenerator.inc.php Class Main Class
Accessible without login Plain text file example.php Example Example File

 Version Control Unique User Downloads Download Rankings  
 0%
Total:469
This week:0
All time:6,016
This week:404Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1477