Here is my code for interstitial ad code im creating:
(This appears at the top of the website, to create a cookie and redirect if the cookie is not on their computer)
<?
if(!empty($_COOKIE['hh411ads']))
{
#setting cookie if not set
}else{
#create the cookie
setcookie ("hh411ads", "interstitial", time()+43200);
#send to interstitial
?>
<SCRIPT LANGUAGE="JavaScript">
window.location="http://www.hh411.com/network/interstitial.php";
// -->
</script>
<?
}
?>
------------------------------
And this is the code for my interstitial.php:
<form action="<? echo $_SERVER['HTTP_REFERER']; ?>" method="post"><input type="image" src="../images/btn_skip.gif" /></form>
[Display Ad]
Now basically it redirects the user, which works fine in Firefox but IE users are saying they can not redirect, so basically I looked into my code and found out that the "$_SERVER['HTTP_REFERER'];" is not responding and giving a BLANK variable for some odd reason, anyone help?