16 Digit Random Password Generator Php Code Without Function

[Solved] 16 Digit Random Password Generator Php Code Without Function | Php - Code Explorer | yomemimo.com
Question : genrate random password php

Answered by : rohit-ghodadra

$pass = random_password();
function random_password( $length = 8 ) { $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_-=+;:,.?"; $password = substr( str_shuffle( $chars ), 0, $length ); return $password;
}

Source : | Last Update : Wed, 23 Mar 22

Question : auto generate password in php

Answered by : adventurous-alligator-inpliidfbzvn

function rand_string( $length ) { $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; return substr(str_shuffle($chars),0,$length);
}
echo rand_string(8);

Source : | Last Update : Sat, 04 Jul 20

Answers related to 16 digit random password generator php code without function

Code Explorer Popular Question For Php