Hi, I need a script that will make a random number that nobody else will be able to guess...I tried writing the following script, but it comes up with the same number twice every now and then, and that can not happen. Is anything wrong with it?
$random1 = rand(0,99);
$random2 = rand(0,99);
$random3 = rand(0,99);
$random4 = rand(0,99);
$random5 = rand(0,99);
$random6 = rand(0,99);
$random7 = rand(0,99);
$random8 = rand(0,99);
$random9 = rand(0,99);
$random10 = rand(0,99);
$random11 = rand(0,99);
$random12 = rand(0,99);
$random13 = rand(0,99);
$random14 = rand(0,99);
$random15 = rand(0,99);
$randomnum = $random1 . $random2 . $random3 . $random4 . $random5 . $random6 . $random7 . $random8 . $random9 . $random10 . $random11 . $random12 . $random13 . $random14 . $random15;
echo $randomnum;