What does $_SERVER mean?
- An array of server variables
- A predefined server constant
- A function for server-side scripting
- A global function
In PHP, $_SERVER is an array that contains server information, such as headers, paths, and script locations. It is a superglobal variable accessible from anywhere in the PHP script. Learn more: http://php.net/manual/en/reserved.variables.server.php
Loading...
Related Quiz
- A common practice in PHP forms is to validate user inputs such as email and URL to prevent ______.
- You are writing a PHP script and you need to store a collection of items that can be accessed by a unique key for each item. How would you do this using an associative array?
- The strlen() function in PHP can be used to find the number of words in a string.
- You need to replace a certain word in a string in your PHP script. How would you do this?
- Which of the following is a comparison operator in PHP?