PHP: How to generate a random, unique, alphanumeric string for use in a secret link?

后端 未结 28 2204
隐瞒了意图╮
隐瞒了意图╮ 2020-11-21 22:20

How would it be possible to generate a random, unique string using numbers and letters for use in a verify link? Like when you create an account on a website, and it sends y

28条回答
  •  伪装坚强ぢ
    2020-11-21 23:18

    Here is ultimate unique id generator for you. made by me.

    
    

    you can echo any 'var' for your id as you like. but $mdun is better, you can replace md5 to sha1 for better code but that will be very long which may you dont need.

    Thank you.

提交回复
热议问题