Are you looking for random, number, lower case upper case or alpha numeric etc using PHP. Just use the Following Short/Simple PHP Snippet/Script. It will help you to Create Random String in PHP. Random String Generator [ PHP Snippet ]