git.schokokeks.org
Repositories
Help
Report an Issue
bibweb.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
b7442ce
Branches
Tags
master
bibweb.git
clear.php
Cookie löschbar, Datenschutzhinweise
Bernd Wurst
commited
b7442ce
at 2018-03-18 20:54:39
clear.php
Blame
History
Raw
<?php session_start(); $filename = '../data/'.date('Y').'/'.$_SESSION['handle'].'.json'; if (file_exists($filename)) { unlink($filename); } session_destroy(); if (isset($_REQUEST['number'])) { setcookie('NUMBER', '', 1, ""); } header('Location: index.php');