View sourcecode

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

check_login.php

7 lines UTF-8 Unix (LF)
1
2
3
4
5
6
7
<?php
session_start
();
if (!isset(
$_SESSION["username"])) {
  
header("Location: index.php?mess=Du är inte inloggad.");
  exit;
}