Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $characters = 'abcdefghijklmnopqrstuvwxyz0123456789';
- $string = '';
- $max = strlen($characters) - 1;
- for ($i = 0; $i < 15; $i++) {
- $string .= $characters[mt_rand(0, $max)];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement