Skip to content

Instantly share code, notes, and snippets.

<?php
/*<!--// Initialize the session
session_start();
// Check if the user is logged in, if not then redirect him to login page
if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){
header("location: login.php");
exit;
}-->*/
require_once "config.php";