$dd1 = $_COOKIE["spambak"];
$dd2 = $_COOKIE["spambakx"];
$value1 = '1';
$value7 = '1200';
$adresxx = $_SERVER['PHP_SELF'];
//cookie check
setcookie("spambak3", "ok", time()+6000); /* expire in 1 hour */
if ($_COOKIE["spambak3"] == "ok"):
else:
setcookie("adres", $adresxx, time()+60);
header("Location: check.php");
exit;
endif;
if ($_COOKIE["spambak"] >= "60"):
setcookie("spambak", $value7, time()+555560); /* expire in 1 hour */
setcookie("spambakx", "ok", time()+555560); /* expire in 1 hour */
header("Location: http://www.asdğğğğğkfasdfjkashfjashfjashdf.com");
exit;
endif;
if ($_COOKIE["spambakx"] == "ok"):
$value2 = $dd1+1;
setcookie("spambak", $value2, time()+60); /* expire in 1 hour */
else:
setcookie("spambak", $value1, time()+60); /* expire in 1 hour */
setcookie("spambakx", "ok", time()+60); /* expire in 1 hour */
endif;