Ciao ragazzi come posso fa fare a cancellare il cookie
<? }
if (isset($_GET['u'])){
unset($_SESSION['nickname']); }
// Process login info
if (isset($_POST['submitBtn'])){
$name = isset($_POST['name']) ? $_POST['name'] : "Unnamed";
$_SESSION['nickname'] = $name; }
$nickname = isset($_SESSION['nickname']) ? $_SESSION['nickname'] : "Hidden";
?>
<?
if($_GET["mode"]) { if(htmlspecialchars(trim($_GET["mode"])) == "exit") {
setcookie("......'");
header("Location: index.php");
} else { header("Location: $_SERVER[SCRIPT_NAME]"); } exit(); } ?>
setcookie("nome_utente");