if (!isset($_SESSION['email']) || $_SESSION['email']=="") { header('Location: index.php?msg=2'); die(); } ?>