Which superglobal contains information about server paths, headers, and script locations?

PHP Intermediate Easy

PHP Intermediate — Easy

Which superglobal contains information about server paths, headers, and script locations?

Key points

  • $_SERVER is populated by the web server
  • Contains keys like SCRIPT_NAME and REMOTE_ADDR
  • Essential for request environment details

Ready to go further?

Related questions