A
Anonymous
Guest
Hi all
How can I test if COOKIES are available on the browser ?
How can I test if COOKIES are available on the browser ?
//index.php
if (!$_COOKIE['seensplash'])
{
header("Location: /setcookie.php");
exit;
}
//setcookei.php
setcookie('seensplash', true);
header("Location: /index.php");
u need to be careful however...
if the browser has no-cookies option..
it will go recursive