You can find in this page something like php
) or phpinfo
(it's in PHP language), so it's your request headers and server headers.
(information from $_SERVER,$_SERVER info, my request headers
$_SERVER is an array with not fixed size, number of variables linked with request type and servers settings. This array fully generated by web server application, that is why it is different for Apache and Nginx server.
Varibales of PHP $_SERVER array can be replaced during php and web server execution, nginx can rewite some variables from external Apache server (for example).
The most useful variables that sending user's browser:
- Contents of the Accept-Charset: header from the current request, if there is one. Example: 'iso-8859-3,*,utf-8'.
- Contents of the Accept-Encoding: header from the current request, if there is one. Example: 'jpeg'.
- Contents of the Accept-Language: header from the current request, if there is one. Example: 'en'.
- The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
- Contents of the User-Agent: header from the current request, if there is one. This is a string denoting the user agent being which is accessing the page.
- The IP address from which the user is viewing the current page. (can be modified by proxy)
$_SERVER is an array containing information such as headers, paths, and script locations (request information + part of server execution information).
The most useful header it's a REMOTE_ADDR, it containt IP address of remove computer (or remote proxy) that using in 95% of web sites. There are two simple ways to make user's IP address invisible: proxy and VPN.