You can access the cookie's information in PHP using the $_COOKIE ______ array.
- $_COOKIE
- $_REQUEST
- $_SESSION
- $_SERVER
The cookie's information in PHP can be accessed using the $_COOKIE superglobal array. This array contains key-value pairs where the keys represent the names of the cookies and the values hold the corresponding cookie values. More details: http://php.net/manual/en/reserved.variables.cookies.php
Loading...
Related Quiz
- In PHP, a line of code is terminated with a ______.
- You need to store a price, which includes cents, in a variable in your PHP script. What type of number would you use and why?
- You want to embed PHP code within your HTML. How would you do this?
- In a PHP switch statement, what does the case keyword represent?
- You are writing a PHP script and you need to collect data sent in the URL's query string. How would you do this using the $_GET superglobal?