What PHP superglobal array holds the information about cookies?
- $_COOKIE
- $_REQUEST
- $_SESSION
- $_SERVER
The $_COOKIE superglobal array holds the information about cookies in PHP. It provides access to the values of cookies that have been sent in the HTTP request. For further information, refer to: http://php.net/manual/en/reserved.variables.cookies.php
Loading...
Related Quiz
- What happens if the condition in a PHP for loop is never false?
- Which of the following actions are commonly performed on files in PHP?
- In PHP, a static method is defined using the static keyword.
- How can you filter multiple inputs in PHP?
- You have a PHP script and you need to get the URL of the current page. How would you do this using the $_SERVER superglobal?