The path for which the cookie is valid can be set using the ________ parameter in the setcookie() function.
- cookie.max_age
- cookie.secure
- cookie.expires
- cookie.path
The 'cookie.path' parameter in the setcookie() function defines the path for which the cookie is valid, allowing for precise control over cookie scope.
Loading...
Related Quiz
- Which of the following are valid data types in PHP?
- Which of the following is NOT a valid way to return multiple values from a PHP function?
- The filter_input_array() function is used to get multiple input values and optionally filter them in PHP.
- Multi-line comments in PHP start with ______ and end with ______.
- Which of the following PHP loops checks the condition before the loop has run?