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
As Frank Kreuger commented, go with a GUID generator.
Like this one