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
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *