In many system environments, you will use letters and combinations of various encodings. Below we recommend very practical PHP code. $ Num is composed of several letters. The $ s letter is case-sensitive. You can set it to uppercase or lowercase. Functionmakecode ($ num4) {$ re "; $ s 'abcdefghhijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
In many system environments, you will use letters and combinations of various encodings. Below we recommend very practical PHP code. $ Num is composed of several letters. The $ s letter is case-sensitive. You can set it to uppercase or lowercase. Function makecode ($ num = 4) {$ re = "; $ s = 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
In many system environments, you will use letters and combinations of various encodings. Below we recommend very practical PHP code.
$ Num is composed of several letters.
The $ s letter is case-sensitive. You can set it to uppercase or lowercase.
Function makecode ($ num = 4 ){
$ Re = ";
$ S = 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxy ';
While (strlen ($ re) <$ num ){
$ Re. = $ s [rand (0, strlen ($ s)-1)]; // randomly generates a character from $ s
}
Return $ re;
}
Love Sharing? PHP randomly generates random letters and combinations
Http://www.ihref.com/read-12795.html