if you really need to do random numbers with a lot of characters ....
just do a loop it's slow, but it works
exemple in your case :
$value=strval(rand(1,9)); //because you need 1 and not 0 for the first
for ($i=0;$i<7;$i++) $value.=strval(rand(0,9));
echo $value;
this way you can even get numbers with 100 char, they just become strings ...
not the best way to do it, but better than nothing Khaldryck
Programmer at the University of Brussel (Belgium)