PHP Global Variable $_SERVER is used for server and execution environment information. It is an array. Basically, it contains information on the header, paths, and script location. The following indices we can use with $_SERVER:-
- Home
- PHP Global Variable $_SERVER