initial commit
This commit is contained in:
commit
b65642cd0a
18 changed files with 1543 additions and 0 deletions
9
modules/random/random.php
Normal file
9
modules/random/random.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
$len = $_GET['length'] ?? 32;
|
||||
|
||||
$contains = isset($_GET['contains']) ? explode(',', $_GET['contains']) : ['digit', 'upper', 'lower', 'special'];
|
||||
|
||||
header('Content-Type: text/plain');
|
||||
|
||||
echo generateRandomString($len, $contains);
|
||||
Loading…
Add table
Add a link
Reference in a new issue