Reading PHP Cookies
A cookie is a method for long-term
data storage in the user's browser.
Cookies can be read using the global
$_COOKIE array. Let's read
a cookie named test:
<?php
echo $_COOKIE['test'];
?>
A cookie is a method for long-term
data storage in the user's browser.
Cookies can be read using the global
$_COOKIE array. Let's read
a cookie named test:
<?php
echo $_COOKIE['test'];
?>