Another one of the PHP SuperGlobal Arrays is the $_SERVER array.
This array contains all the information you need about the server configuration and the current request. Things like the ip address of the request and the server or the name of the current page running the script.
Code GIST: https://gist.github.com/prof3ssorSt3v...