Can anyone help me out on how to create a unique id similar to the ones that youtube uses e.g. qas27wHba4w in php, ive searched google but havent found anything
Thanks
Jack
Can anyone help me out on how to create a unique id similar to the ones that youtube uses e.g. qas27wHba4w in php, ive searched google but havent found anything
Thanks
Jack
I personally quite like the Shaun The Sheep video- [nomedia="http://uk.youtube.com/watch?v=qas27wHba4w"]YouTube - Shaun the Sheep - Still Life[/nomedia].
On topic however, a quick search for "PHP password generator" would get you on track. For example: PHP random password generator.
lol i knew someone would look at the video :P
And thanks thats what im looking for![]()

You could use uniqid() for something similar.

What you want is a unique identifier rather than just a randomly generated password - i.e. not only should your ID be random, it should be unique (because you don't want two objects identified with the same ID string):
[ame=http://en.wikipedia.org/wiki/UUID]Universally Unique Identifier - Wikipedia, the free encyclopedia[/ame]
--
David Hicks
There are currently 1 users browsing this thread. (0 members and 1 guests)