<?php
function generateFancyPassword() {
$rotations = rand(1, 3);
if ($rotations == 1) {
$password = rand(112502, 999999);
} else if ($rotations == 2) {
$password = rand(1, 9) * 11;
$password .= rand(1, 9) * 11;
$password .= rand(1, 9) * 11;
} else if ($rotations == 3) {
$password = rand(1, 9) * 111;
$password .= rand(1, 9) * 111;
}
return $password;
}
?>
function generateFancyPassword() {
$rotations = rand(1, 3);
if ($rotations == 1) {
$password = rand(112502, 999999);
} else if ($rotations == 2) {
$password = rand(1, 9) * 11;
$password .= rand(1, 9) * 11;
$password .= rand(1, 9) * 11;
} else if ($rotations == 3) {
$password = rand(1, 9) * 111;
$password .= rand(1, 9) * 111;
}
return $password;
}
?>
0 comments:
Post a Comment