srand((double)microtime()*1000000);
$rnd = rand(0,100);


Guardati le funzioni srand e rand sul manuale ciao