Day 23 fix

This commit is contained in:
2019-12-29 19:15:21 +01:00
parent 18c8bd9075
commit fc96f770ee
6 changed files with 20 additions and 165 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/php
<?php
$charset = 'abcdefghijkmpqrstuvwxyzABCDEFGHJKLMPQRSTUVWXYZ23456789';
for($t = 0; ; $t++) {
srand($t);
$rand_str = "";
for($j = 0; $j < 12; $j++) {
$rand_key = rand(0, 54 - 1);
$rand_str .= $charset[$rand_key];
}
echo "$rand_str\n";
}
?>