ballhogjoni Posted April 10, 2007 Share Posted April 10, 2007 How do you assign a unique idenifier that i could save to my db to use later on in my script? Quote Link to comment Share on other sites More sharing options...
lead2gold Posted April 10, 2007 Share Posted April 10, 2007 md5(date()); is pretty unique... or just date() for that matter. if you have some session variables loaded (such as the user id, or something of that nature) you can concatinate that with the date too to make the # even more unique... md5(date().$_SESSION['userid']); Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted April 10, 2007 Author Share Posted April 10, 2007 nice thank you so much! Quote Link to comment Share on other sites More sharing options...
boo_lolly Posted April 10, 2007 Share Posted April 10, 2007 microtime(), session_id(), and hash() are all good. especially hash =). i love hash. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.