PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Er. Rochak Chauhan   PHP Random Number Generator   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example File
Class: PHP Random Number Generator
Generate a random string based on Mersenne Twister
Author: By
Last change:
Date: 10 years ago
Size: 150 bytes
 

Contents

Class file image Download
<?php
require("PhpRandomNumberGenerator.inc.php");
$obj=new PhpRandomNumberGenerator();

$num=$obj->generateNumber();

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