if($_ISSET($_COOKIE["in"]) AND $_COOKIE["in"] == "1"){ include("root.php"); } else{ include("load_page.php"); setcookie("in"," 1", time()+3600); }