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);
Thanks for any help..