Generate Random Alphanumeric ID
13
Generate a random number or string in PHP.
6
Another way to generate a unique ID.
5
Random String Generato
5
A very simple script to generate random hexa colors.
just modify line 36 to generate more/less colors.
just modify line 36 to generate more/less colors.
19
inxilpro
This function creates relatively secure random passwords. It's by no means ideal, but it should work in most non-critical situations. The nice thing is the generator attempts to create passwords that people can pronounce and chooses letters that won't be mistaken for others (such as the numeral "1", an upper-case "i" and a lower-case "L"). To keep the code short much of this functionality is very rudimentary, but it's better than nothing.
14
inxilpro
This is a random password generator that produces understandable passwords based on word lists. I've only included a 3 entry world list because you should chose a list based on your password requirements and your users. If you need to generate passwords that are 14 characters in length, you will want a different list than if you're generating 8 character passwords. And depending on your users, you may want to use certain lists. The list I use is about 4000 words that are 5-7 characters long, all well-known words that have had potentially objectionable content removed. For security reasons I don't want to include this list.
A note on security: though this generates relatively strong passwords for the average user, they are particularly susceptible to brute-force attacks. This is even more an issue if somehow your word list gets compromised. I would not recommend using this function for anything where a highly secure password is needed.
A note on choosing your list: You'll also see that I've built the system to avoid generating passwords with zeros and ones in them. This is because zero and upper-case "o" can be confused as can one, lower-case "L" and upper-case "i." When choosing my word list I was also sure to strip out all words that start with the letter "o" or "i" (to prevent the optional ucfirst() from creating 0/O and I/1 confusion) and words that contain the letter "L" (to prevent l/1 confusion). I find that this greatly helps with preventing confusion, but again weakens the security of the passwords some. It's your choice.
A note on security: though this generates relatively strong passwords for the average user, they are particularly susceptible to brute-force attacks. This is even more an issue if somehow your word list gets compromised. I would not recommend using this function for anything where a highly secure password is needed.
A note on choosing your list: You'll also see that I've built the system to avoid generating passwords with zeros and ones in them. This is because zero and upper-case "o" can be confused as can one, lower-case "L" and upper-case "i." When choosing my word list I was also sure to strip out all words that start with the letter "o" or "i" (to prevent the optional ucfirst() from creating 0/O and I/1 confusion) and words that contain the letter "L" (to prevent l/1 confusion). I find that this greatly helps with preventing confusion, but again weakens the security of the passwords some. It's your choice.
1
This little function does great for passwords, usernames, files, and anything else you need a random string for.
13
It works with Array types. The example is a simple list of numbers, but the array could contain anything; lists of strings, functions, DOM nodes, whatever. Unfortunately, a lot of things that seem like arrays in the DOM aren't really, so you can't shuffle the images on a page with just document.images.shuffle() all by itself.
5
This module is used to generate the unique number and self check the numbers in social security, band accounts and etc.
Here you can find detailed explanation:
http://www.eclectica.ca/howto/modulus-11-self-check.php?start=1&count=5&generate=Generate#calculator
I have made this scirpt generate numbers in drop down list and write brojevi.txt file that you can download with numbers you have generated...
Here you can find detailed explanation:
http://www.eclectica.ca/howto/modulus-11-self-check.php?start=1&count=5&generate=Generate#calculator
I have made this scirpt generate numbers in drop down list and write brojevi.txt file that you can download with numbers you have generated...
6
Function that you can use to extract the ID from YouTube links that
look like this:
http://www.youtube.com/watch?v=Fv2aS8YtpmU
http://www.youtube.com/vi/Fv2aS8YtpmU
http://www.youtube.com/?v=Fv2aS8YtpmU
and you can extract this "Fv2aS8YtpmU" so you can use it to get thumbnails that look like : http://img.youtube.com/vi/[videoid]/default.jpg
look like this:
http://www.youtube.com/watch?v=Fv2aS8YtpmU
http://www.youtube.com/vi/Fv2aS8YtpmU
http://www.youtube.com/?v=Fv2aS8YtpmU
and you can extract this "Fv2aS8YtpmU" so you can use it to get thumbnails that look like : http://img.youtube.com/vi/[videoid]/default.jpg









