header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); $ref = $_SERVER['HTTP_REFERER']; if($_COOKIE['atsuploads']) { $xmbuser = $_COOKIE['atsuploads']; }else{ if($ref == "http://www.abovetopsecret.com/forum/memcenter.php?display=upload" || $ref == "http://www.belowtopsecret.com/memcenter.php?display=upload" || $ref == "http://www.abovepolitics.com/memcenter.php?display=upload" || $ref == "http://test.belowtopsecret.com/forum/memcenter.php?display=upload" || $ref == "http://test.abovetopsecret.com/forum/memcenter.php?display=upload" || $ref == "http://test.abovepolitics.com/forum/memcenter.php?display=upload" ){ if($_GET[xmbuser]) { $xmbuser = $_GET[xmbuser]; $expire = time() + 604800; setcookie("atsuploads", $xmbuser, $expire); } }else{ setcookie("atsuploads", "", $expire); echo "
access error: ".$ref." - ".$_COOKIE['atsuploads']."
If you're seeing this error, it means your browser is not sending 'referral' data to our upload management tool.