View sourcecode

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

logout.php

13 lines ASCII Unix (LF)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
session_start
();
session_unset();
session_destroy();
if(!isset(
$_COOKIE["username"])){
    
header("location:index.php?mess=LOGOUT");
    exit();
}
else{
    
header("location: /webbserver/wesmom.html");
    exit();
}
?>