107 of 110 menu

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']; ?>
English
БеларускаяEspañolРусский
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline