Jump to content

[SOLVED] How to assign a unique idenifier


ballhogjoni

Recommended Posts

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']);

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.