View sourcecode

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

logout.php

10 lines UTF-8 Unix (LF)
1
2
3
4
5
6
7
8
9
10
<?php
session_start
();
session_unset();
session_destroy();
if(isset(
$_COOKIE['Användarnamn'])){
    
setcookie('Användarnamn'''time() - 3600);
    
setcookie('Lösenord'''time() - 3600);
}
header('location: index.php?mess=Utloggad!');
?>