I need to generate 10million 12-char string and I am able to do so, however the problem is how to avoid repetition keeping each string unique? it will be a disaster to compare each string,isn't it? ps Thanks Yong. Bo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php