I am using the code below to generate a random number. All was working well before I migrated the script to a new server. Now each call to the script generates the same number. Would this have anything to do with the configuration of the server?
$randNum = 1;
for ($i = 0; $i < 9; $i++){
$randNum .= mt_rand(1,9);
}
Thanks for any help.