Please visit our sponsor
UNKNOWN
=**************************************
= for :Generate a random number
=**************************************
none do whatever you like with it
=**************************************
= Name: Generate a random number
= Description:this code will generate a random number this can be very useful when dealing with upload scripts or when generating files or the like if ya use it please rate it
= By: Sam Land
=
=
= Inputs:None
=
= Returns:None
=
=Assumes:None
=
=Side Effects:None
=This code is copyrighted and has limited warranties.
=Please see http://www.Planet-Source-Code.com/xq/ASP/txtCodeId.155/lngWId.6/qx/vb/scripts/ShowCode.htm
=for details.
=**************************************
$lower=1000;
$upper=2000000;
$random = int(rand( $upper-$lower+1 ) ) + $lower;
print $random,"\n";