<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<?php //Grab arguments from the GET string
$SEC = $_GET['S'];
//If on second bounce SEC = 1
if ( $SEC == '1' )
{
//Validate (make sure the referer cleared)
if ( $_SERVER['HTTP_REFERER'] == '' )
{
//Landing page
$bounce_loc='www.landingpagewhateverrrrrrrr.com';
}
else //Bad! dump them somewhere!
{
//Dump location (for metas that didn't clear)
$bounce_loc="http://www.google.com";
}
}
else //First time through--bounce them back!
{
$self = $_SERVER['SCRIPT_NAME'];
$bounce_loc="$self?S=1";
}
?><?php print("<meta http-equiv=refresh content='0;url=$bounce_loc'>");
?>
</head>
<body>
<br>
</body>
</html>
Bookmarks