A simple PHP function that returns a random alphanumeric code of a specified length (useful for generating unique IDs or access codes). To use, just call the RandomCode() function and pass in the preferred length of the string when calling the function eg. RandomCode(6); will generate a random alphanumeric string 6 characters in length.
danielkwood/RandomCode
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|