I'm creating unique IDs within a table for members. For my purposes it has to be unique and at least 10 chars long.
Is this pretty much a given that the ID will come out unique?
$mix = date("BisZU"
;
$mix = $mix."".$_POST[username]."";
$memberID = base64_encode(pack("H*",md5($mix)));
Or should I handle it some other way?
- "Delightfully confusing..." raves The New York Times
-kas
Is this pretty much a given that the ID will come out unique?
$mix = date("BisZU"
$mix = $mix."".$_POST[username]."";
$memberID = base64_encode(pack("H*",md5($mix)));
Or should I handle it some other way?
- "Delightfully confusing..." raves The New York Times
-kas