Hi!
<?php
if (!isset($_COOKIE["name"])) {
if (!isset($_GET["cookietest"])) {
echo "Ihr Browser unterstützt keine Cookies.";
exit;
} else {
setcookie (...);
Header ("Location: http://" . $_SERVER["HTTP_HOST"] . $_SERVER["PHP_SELF"] . "?cookietest=1");
exit;
}
}
/* hier der normale code */
?>
Genau so habe ich es auch gemeint.
Grüße
Andreas