Visa Källkod

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

NamnTypStorlek
actions.phpPHP Fil8.5 KB
admin.phpPHP Fil11.1 KB
auth.phpPHP Fil4.5 KB
change_password.phpPHP Fil3.4 KB
check_login.phpPHP Fil211 B
config.phpPHP Fil411 B
index.phpPHP Fil4 KB

check_login.php

10 lines ISO-8859-1 BOM Windows (CRLF) - Type: PHP Fil
1
2
3
4
5
6
7
8
9
10
<?php
session_start
();

// Kontrollera om användaren är inloggad
if (!isset($_SESSION['loggedin']) || $_SESSION['loggedin'] !== true) {
    
header("Location: index.php?noaccess=1");
    exit;
}
?>