Unique key generation

后端 未结 13 2222
一个人的身影
一个人的身影 2020-12-03 05:53

I looking for a way, specifically in PHP that I will be guaranteed to always get a unique key.

I have done the following:

strtolower(substr(crypt(tim         


        
13条回答
  •  情话喂你
    2020-12-03 06:15

    If you use your original method, but add the username or emailaddress in front of the password, it will always be unique if each user only can have 1 password.

提交回复
热议问题