session_start(); if($_GET['about1'] != "1" ) { if($_SESSION["firstpage"] == "about2.php") { header("Location: about2.php"); exit(); } if($_SESSION["firstpage"] == "about3.php") { header("Location: about3.php"); exit(); } } $_SESSION["firstpage"] = "about1.php"; ?>
|