What is the use of PHP $_SERVER variable?

122. What is the use of PHP $_SERVER variable?

  1. To update the content on the server
  2. To access the information about headers, paths, and script locations
  3. To access and update the database records on the server
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.