"") { setcookie("idi", filterXSS($_GET['idi']), time() + (60 * 60 * 24 * 365)); } header(sprintf("Location: index.php")); ?>