View sourcecode

The following files exists in this folder. Click to view.

remove.php

10 lines UTF-8 Unix (LF)
1
2
3
4
5
6
7
8
9
10
<?php
// Tar bort COOKIEN
setcookie('username',""time()-3600);

// Kollar vilken sida man vill skickas till
$page = isset($_GET['page']) ? $_GET['page'] : "index";

// Skickar vidare till vald sida + meddelande
header("location: $page.php?mess=Cookien är borttagen.");