Hi,
I have a problem with SESSION variables. Some of my visitors had disabled cookies so i can`t use Session variables.
I have one solution for that but first I need to know how can I recognize which computer has disabled Cookies.
Please help
Try and set a cookie. If you cant read from said cookie, chances are they have them disabled.
if (!isset($_GET['cookie'])) { setcookie(....); header('Location: same_file.php?cookie=1'); } if (!isset($_COOKIE['the_cookie'])) { header('Location: set_your_cookie_dude.php'); }
Have fun coding. 😃
bogu wrote:if (!isset($_GET['cookie'])) { setcookie(....); header('Location: same_file.php?cookie=1'); } if (!isset($_COOKIE['the_cookie'])) { header('Location: set_your_cookie_dude.php'); } Have fun coding. 😃
thanks
😃 No problem Dude, oops Duje. 😃