"Calculus is just the meaningless manipulation of higher symbols"
-unknown F student
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)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.