["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "Day" => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "Year" => [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014]];
$whileLimit = 0;
$usernameLoop = 0;
if ($readJSON == 1) {
$usernameData = file_get_contents("usernameOrganised.json");
$decodeJson = json_decode($usernameData, true);
}
while ($whileLimit < $amountOfAccounts) {
print("Birthday : ");
print($birthday ["Month"] [array_rand($birthday ["Month"] )]);
print(" ". $birthday ["Day"] [array_rand($birthday ["Day"] )] . ",");
print(" " . $birthday ["Year"] [array_rand($birthday ["Year"] ) ]);
print("
Username : ");
if ($useMoreRealisticName == true) {
print($decodeJson ["first"] [array_rand($decodeJson ["FirstName"] )]);
print(" " . $decodeJson ["last"] [array_rand($decodeJson ["LastName"] )] );
}
else if ($useMoreRealisticName == false) {
while ($usernameLoop < 15) {
print($usernameAndPasswordUnorganized [array_rand($usernameAndPasswordUnorganized)] );
$usernameLoop += 1;
}
}
print("
Password : ");
for ($i = 0; $i < 15; $i++) {
print($usernameAndPasswordUnorganized[array_rand ($usernameAndPasswordUnorganized) ]);
}
print("
");
$whileLimit += 1;
$usernameLoop = 0;
}
?>