// Original is Zenc.com, transfered by Hunte
if ($MODE!=="test") {
SetCookie("COOKIE", "VALUE");
Header("Location: ".$SCRIPT_NAME."?MODE=test");
exit;
} else if ($COOKIE=="VALUE") {
echo "You've got cookies!";
} else {
echo "Turn on cookies, Mr. Paranoid.";
}
|