if (!$_COOKIE['intro']) { setcookie("intro","1",time()+60*60*24*30); } else { header("Location: main.php"); } ?>