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: 472 This week: 1All time: 6,007 This week: 571Up
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 is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 54 packages by
Country: India India
Age: 45
All time rank: 21 in India India
Week rank: 50 Down3 in India India Down
Innovation award
Innovation award
Nominee: 15x

Winner: 4x

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:472
This week:1
All time:6,007
This week:571Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1335