ma ma ma ma ma
NN e' meglio ?Codice PHP:
function generaCodice($length)
{
$code = "" ;
for(i=0 ; $i<$length ; $i++)
{ $code = chr(rand(0,25)+97) ; } // Powered bi linoma
return $code ;
}
ma ma ma ma ma
NN e' meglio ?Codice PHP:
function generaCodice($length)
{
$code = "" ;
for(i=0 ; $i<$length ; $i++)
{ $code = chr(rand(0,25)+97) ; } // Powered bi linoma
return $code ;
}