define variables

This commit is contained in:
lopar 2019-06-21 21:56:59 +03:00
parent b28be0ea6a
commit 22be070331

View File

@ -646,7 +646,7 @@ VALUES ("?s","?s",?i,?i,?i,"?s","?s",?i,?i,?i,?i)',
$zay = new zayavka; $zay = new zayavka;
header("Cache-Control: no-cache"); header("Cache-Control: no-cache");
if ($_POST['open']) { if (!empty($_POST['open'])) {
$f = fopen("/tmp/zayavka/" . $user['id'] . ".txt", "w+"); $f = fopen("/tmp/zayavka/" . $user['id'] . ".txt", "w+");
fputs($f, time()); fputs($f, time());
fclose($f); fclose($f);