diff options
| author | ziejd2 | 2021-02-24 14:36:59 -0600 |
|---|---|---|
| committer | ziejd2 | 2021-02-24 14:36:59 -0600 |
| commit | 25b843f6bbacb1937bdb960777b73acbece64115 (patch) | |
| tree | 88645b9d1d8a0eea19d7229555bf8805571bc8b7 /sourcecodes/clear_example.php | |
| parent | 33cedf36248f616aa37d1462c69a4a3058a5d92e (diff) | |
| download | BNW-25b843f6bbacb1937bdb960777b73acbece64115.tar.gz | |
GENENET8 update
Diffstat (limited to 'sourcecodes/clear_example.php')
| -rw-r--r-- | sourcecodes/clear_example.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sourcecodes/clear_example.php b/sourcecodes/clear_example.php deleted file mode 100644 index c01a6f7e..00000000 --- a/sourcecodes/clear_example.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php -include("input_validate.php"); -$oldkeyval=valid_keyval($_GET["My_key"]); -//if (preg_match('/[^A-Za-z]/',$oldkeyval)) { -// echo "Key value must contain only uppercase or lowercase letters."; -// $oldkeyval=''; -//} - -/////////////Generate a random key///////////////////// -$alphas=array(); -$alphas = array_merge(range('A', 'Z'), range('a', 'z')); - -$al1=rand(0,51); -$al2=rand(0,51); -$al3=rand(0,51); - -$alpha="$alphas[$al1]"."$alphas[$al2]"."$alphas[$al3]"; -$keyval=$alpha; -$keyval=valid_keyval($keyval); -shell_exec('./filecopy.sh '.$oldkeyval.' '.$keyval); - -?> -<script> -window.open("layout_example.php?My_key=<?php print($keyval);?>",'_self',false); -</script> |
