Jackd Posted November 29, 2008 Posted November 29, 2008 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
rosswilson Posted November 29, 2008 Posted November 29, 2008 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.
Jackd Posted November 29, 2008 Author Posted November 29, 2008 lol i knew someone would look at the video And thanks thats what im looking for
webman Posted November 29, 2008 Posted November 29, 2008 You could use uniqid() for something similar.
dhicks Posted November 30, 2008 Posted November 30, 2008 Can anyone help me out on how to create a unique id similar to the ones that youtube uses e.g. qas27wHba4w in php 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now