From 89cb25faa900d87777b137a6f8cd565505ba5d8f Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sun, 23 Dec 2012 18:17:38 +0100 Subject: pasek atencji dodany w php --- atencja.php | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 atencja.php (limited to 'atencja.php') diff --git a/atencja.php b/atencja.php new file mode 100644 index 00000000..34737c22 --- /dev/null +++ b/atencja.php @@ -0,0 +1,10 @@ +0) file_put_contents("atencja.txt",$_POST["atencja"]); + if(strlen($_SERVER['HTTP_REFERER'])>0) { header('Location: ' . $_SERVER['HTTP_REFERER']); } + else { header('Location: /'); } +?> -- cgit v1.3