blob: 34737c22d34c5e3c7e97d2160ea3586840643358 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<?php
require_once 'inc/functions.php';
checkBan(); // Wazne!
// Zwroc stare dane atencji
print file_get_contents("atencja.txt");
// inb4 XSS
if(strlen($_POST["atencja"])>0) file_put_contents("atencja.txt",$_POST["atencja"]);
if(strlen($_SERVER['HTTP_REFERER'])>0) { header('Location: ' . $_SERVER['HTTP_REFERER']); }
else { header('Location: /'); }
?>
|