Re: getting the value of a cookie
| From: | Aziz Saleh | Date: | Sun, 09 Aug 2020 12:08:23 +0000 |
| Subject: | Re: getting the value of a cookie | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327258@lists.php.net to get a copy of this message | ||
https://www.php.net/manual/en/function.setcookie.php
"Once the cookies have been set, they can be accessed on the next page load
with the $_COOKIE
<https://www.php.net/manual/en/reserved.variables.cookies.php>
array.
Cookie values may also exist in $_REQUEST
<https://www.php.net/manual/en/reserved.variables.request.php>.
"
On Sun, Aug 9, 2020 at 5:47 AM Fernando Fiore <no5software@gmail.com> wrote:
> i know how to write to a cookie with setcookie(,,,)
> but what is the easy way to get the value stored in 2nd argument?
> thanks in advance
>