$password_length = 10;
$combination = "1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM?/}{)(*&^%$?#!~=+-";
$password = "";
for($i = 0; $i < $password_length; $i ++) {
$password .= $combination[rand(0, strlen($combination))];
}
echo $password;
$combination = "1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM?/}{)(*&^%$?#!~=+-";
$password = "";
for($i = 0; $i < $password_length; $i ++) {
$password .= $combination[rand(0, strlen($combination))];
}
echo $password;
No comments:
Post a Comment