diff options
author | Patrick Simianer <p@simianer.de> | 2016-06-17 09:58:53 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-06-17 09:58:53 +0200 |
commit | 550748d07cb660c28d28e41eee256b3371d4ce62 (patch) | |
tree | d5236c6291806c1c3e4478d6d8cc738ddb1785a9 /pool_save.php | |
parent | abcae4f39145863b4861588f885991b6dac662aa (diff) | |
parent | 27236ad14a621864475dc20cf882624d254b5dc9 (diff) |
Merge branch 'master' of github.com:pks/lfpe
Diffstat (limited to 'pool_save.php')
-rw-r--r-- | pool_save.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/pool_save.php b/pool_save.php deleted file mode 100644 index 5d67a25..0000000 --- a/pool_save.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php - -if (!$_GET['session'] || !$_GET['name']) { - echo "empty"; - return; -} - -$f = fopen(tempnam("../tmp", "assignment-"), "wa"); - -fwrite($f,urldecode($_GET["name"])."\n"); -fwrite($f,urldecode($_GET["session"])."\n"); -fwrite($f,getdate()[0]."\n"); -fclose($f); - -$checkf = "../tmp/".urldecode($_GET["session"]); -if (file_exists($checkf)) { - echo "notok"; -} else { - $g = fopen($checkf, "wa"); - fwrite($g, "x\n"); - fclose($g); - echo "ok"; -} - -?> |