You mean you want a list of twenty words, each of ten characters length?
//The next five lines aren't needed since PHP4.2
function make_seed()
{ list($usec, $sec) = explode(' ', microtime());
return (float) $sec + ((float) $usec * 100000);
}
mt_srand(make_seed());
$alphabet='123456789abcdefghijklmnopqrstuvwxyz';
$alen=strlen($alphabet);
$words=array();
for($i=0; $i<20; ++$i)
{ $word='';
for($j=0; $j<10; ++$j)
{ $word.=$alphabet{mt_rand(1, $alen)-1};
}
$words[]=$word;
}