Home »
MCQs »
PHP MCQs
What is the use of PHP $_SERVER variable?
122. What is the use of PHP $_SERVER variable?
- To update the content on the server
- To access the information about headers, paths, and script locations
- To access and update the database records on the server
- All of the above
Answer: B) To access the information about headers, paths, and script locations
Explanation:
The PHP $_SERVER is used to get the information about headers, paths, and script locations.