Generate Random Strings Using PHP
Simple yet customizable function that allows you to generate random strings using characters from multiple sets e.g. upper case, lower case, digits and symbols. The random strings can be used in various systems where short, random strings are needed; such as login systems (random password generation) and referral/promotional/discount codes. The coder can specify and change the complexity of string with ease. Few examples presets and output included.