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
If you want to generate a unique string in PHP, try following.
md5(uniqid().mt_rand());
In this,
uniqid() - It will generate unique string. This function returns timestamp based unique identifier as a string.
mt_rand() - Generate random number.
md5() - It will generate the hash string.