View sourcecode

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

check_login.php

9 lines UTF-8 Unix (LF)
1
2
3
4
5
6
7
8
9
<?php
session_start
();

if (!isset(
$_SESSION['user'])) {
    
header("location: index.php?mess=Du är inte inloggad.");
    exit();
}
?>