Okay, I've been using the following snippet of code for quite awhile and all has been well..but suddenly one day, it started failing for no apparent reason! Can anyone see a problem with it?
srand((double)microtime()*1000000);
$regkey = rand(600000,6000000);
This is the error it produces now:
Warning: rand(): Invalid range: 600000..6000000 in
/path/to/my/file/file.php on line 56
Thanks for any help!