Here's an example:
SPLASH PAGE:
Code:
<?php if (isset($_COOKIE['visited'])) { header('Location: http://your.com/page2.php'); } ?>
<html>
.......
<a href="page2.php">ENTER</a>
PAGE 2:
Code:
<?php if (!isset($_COOKIE['visited'])) { setcookie('visited',1,60*60*24*365); } ?>
<html>
.......
That's all you need.
It will save a cookie when they skip the splash page the first time and won't show it again until the cookie is removed. The expiration date for the cookie is currently one year (and you can change that). You could set it to expire once a day, for example.
Bueno suerte.
Bookmarks