Hello everybody. How do I get the value from a cookie which was set in a previous session ??? When I try to print the value with HTTP_COOKIE_VARS["cookie_name"] or with $cookie_name, nothing is shown... Is there another way to access the cookie ?
Thanks 4 your answer ;-)
Using the following:
setcookie("cookie","$yourvar");
You should be able to later access that cookie simply calling back $cookie.
In HTML, you could do something like this:
Here is your cookie: <?php echo $cookie; ?>
Does that help?