Generate Random Number Script

The Generate Random Number Script is use to create one or more random numbers.

Demo :

Minimum No : Maximum No :  

Example :

Minimum No : 10 Maximum No : 1000000

Following code is used to generate one or more random numbers if you need code to copy and use to your website.

  $minimum_id = 10;
  $maximum_id = 1000000;
  $result = rand($minimum_id,$maximum_id);
  echo $result;

Generating a random number in PHP is as simple as calling the rand() function. If you'd optionally like to limit the random number to a specific range, you can pass rand() the upper and lower limits of the range. To obtain a random floating-point number, divide the random number produced by a very large value.

Free Download Script :

If you need Generate Random Number Script click and download from following link.