From Wiki

PHP: UniqId

$token = md5(uniqid()); 
$better_token = md5(uniqid(rand(), true));
$oid = md5(uniqid(rand(), true));

Retrieved from http://kozgun.net/wiki/pmwiki.php?n=PHP.UniqId
Page last modified on March 23, 2006, at 11:33 PM