<?php $http_host = $_SERVER['HTTP_HOST']; include("../../functions.php"); $con = startdb(); if (!checkSession($con)){ header("Location: /index.php"); exit (-1); } else{ } ?>