include 'local.php'; session_start(); if($_GET['2home']){ $_SESSION['2home'] = true; ?> die(); } if($_SESSION['2home']){ $tohome = true; $_SESSION['2home'] = false; } ?>