$_SERVER['SCRIPT_NAME'] //The path of the current script
dirname($_SERVER['SCRIPT_NAME'] //dirname() returns the directory part of the path
$_SERVER['SCRIPT_FILENAME'] //The absolute path of the current script execution
$_SERVER['HTTP_HOST'] //Get the current domain name
$_SERVER['SERVER_NAME'] //Output the ServerName in the configuration file httpd.conf, which is generally the same as the HTTP_HOST value
$_SERVER['SystemRoot'] //Directory of the operating system of the current server
$_SERVER['SERVER_SOFTWARE'] //Server software configuration information
$_SERVER['SERVER_PORT'] //server port
$_SERVER ['REMOTE_PORT'] //The port used by users to connect to the server
$_SERVER['SERVER_ADDR'] //server ip address
$_SERVER['REMOTE_ADDR'] //User IP browsing the web.
$_SERVER['DOCUMENT_ROOT'] //The root directory where the currently running script is located
$_SERVER['REQUEST_SCHEME'] //Server communication protocol, is http or https.
$_SERVER['SERVER_ADMIN'] //Server administrator information
$_SERVER['REQUEST_METHOD'] //How to request data
$_SERVER['REQUEST_URI'] //Current script path, directory after the root directory
$_SERVER['PHP_SELF'] //The file name of the currently executing script
$_SERVER['REQUEST_TIME'] //Get the timestamp when the request started.
$_SERVER['HTTP_COOKIE'] //Get the browser's cookie information.
$_SERVER['HTTP_CONNECTION'] //The connection status of the current request
$_SERVER['HTTP_USER_AGENT'] //Get user-related information, including user browser, operating system and other information
$_SERVER['HTTP_ACCEPT'] //ACCEPT header information of the current request
$_SERVER['HTTP_ACCEPT_LANGUAGE'] //Return to the user's default language setting. The following q value indicates the user's preference for the language.