$value){ if (!empty($value)) { setcookie($key, $value, time() + (86400 * 90), '/'); $_COOKIE[$name] = $value; } } } if (isset($_REQUEST["save"]) || isset($_REQUEST["reset"])) { header("Location: ./settings.php"); die(); } require "misc/header.php"; ?>