[MOD] Random Password Generator
This will generate a random password when you signup.
http://s13.postimg.org/8567s7d1z/screenshot_16.png In signup.php after: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
AFTER DOING THAT WE NEED TO ADD THE BUTTON: In my case after: PHP Code:
PHP Code:
NOTE: If you want to change the password lenght just edit this line where 7 is the number of letters generated: PHP Code:
PHP Code:
|
pass = randomPassword('6');
chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX YZ234567890"; pass = randomUsername('12'); chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX YZ234567890"; Bump: PHP Code: Username: |
All times are GMT +2. The time now is 14:10. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.