On Tuesday, October 23, 2001, at 06:29 PM, Andrew Forsberg wrote: > Please put me out of my misery and let me know how you (or other > evolters) would do it. Would this be ok? Or is it a bit too round-about? > Well, here's my hack: mt_srand((double)microtime()*1000000); $key = mt_rand(100000000,999999999); $new_key = (float) $key . mt_rand(0,9); -j