ini_set('display_errors', 1); session_start(); if ($_SESSION['is_logged'] != 1) { header('Location: index.php'); exit(); } ?>