Uniqid() – The easiest way to generate unique words

I have seen many PHP developers still use rand() for generating security tokens/unique strings, mostly for generating validation strings such as Email validation etc rand() is a security hazard and should never be used to generate a security token. However, there is another function mt_rand() which generates a better random value. What if you want…Continue reading Uniqid() – The easiest way to generate unique words