<?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');