$_SERVER[‘PHP_SELF’] $_SERVER[‘PHP_SELF’] $_SERVER[‘PHP_SELF’] $_SERVER[‘PHP_SELF’]
$_SERVER[‘argv’] # Parameters passed to the script.
$_SERVER[‘argc’] # contains the number of command-line arguments passed to the program (if running in command-line mode).
$_SERVER[‘GATEWAY_INTERFACE’] # Version of the CGI specification used by the server. For example, “CGI/1.1”.
$_SERVER[‘SERVER_NAME’] # Host name of the server on which the script is currently running.
$_SERVER[‘SERVER_SOFTWARE’] # The string that identifies the server, given in the header in response to the request.
$_SERVER[‘SERVER_PROTOCOL’] # Name and version of the communication protocol when the page is requested. For example, “HTTP/1.0”.
$_SERVER[‘REQUEST_METHOD’] # Request method for page access. For example: “GET”, “HEAD”, “POST”, “PUT”.
$_SERVER[‘QUERY_STRING’] # $_SERVER[‘QUERY_STRING’] #
$_SERVER[‘DOCUMENT_ROOT’] # The document root where the script is currently running. Define in the server configuration file.
$_SERVER[‘HTTP_ACCEPT’] # The contents of the Accept: header for the current request.
$_SERVER[‘HTTP_ACCEPT_CHARSET’] # Accept-charset: the contents of the header for the current request. For example: “ISO-8859-1,*, UTF-8”.
$_SERVER[‘HTTP_ACCEPT_ENCODING’] # The contents of the Accept-Encoding: header of the current request. For example: “gzip”.
$_SERVER[‘HTTP_ACCEPT_LANGUAGE’]# Accept-language: contents of the header for the current request. For example: “en”.
$_SERVER[‘HTTP_CONNECTION’] # Connection of the current request: the contents of the header. For example: “Keep-Alive”.
$_SERVER[‘HTTP_HOST’] # The contents of the Host: header for the current request.
$_SERVER[‘HTTP_REFERER’] # link to the URL of the previous page of the current page.
$_SERVER[‘HTTP_USER_AGENT’] # Current request User_Agent: contents of header.
$_SERVER[‘HTTPS’] — Set to a non-null value (ON) if accessed over HTTPS, otherwise off
_server [‘REMOTE_ADDR’] # IP address of the user browsing the current page.
$_SERVER[‘REMOTE_HOST’] # Host name of the user browsing the current page.
$_SERVER[‘REMOTE_PORT’] # The port used by the user to connect to the server.
$_SERVER[‘SCRIPT_FILENAME’] $_SERVER[‘SCRIPT_FILENAME’]
$_SERVER[‘SERVER_ADMIN’] # admin information
_server [‘SERVER_PORT’] # port used by server
$>rver [‘SERVER_SIGNATURE’] # string containing the server version and virtual host name.
$_SERVER[‘PATH_TRANSLATED’] # The base path to the file system (not the document root) where the script is currently located.
$_SERVER[‘SCRIPT_NAME’] # This is useful when the page needs to point to itself.
$_SERVER[‘REQUEST_URI’] # The URI required to access this page. For example, “/index.html”.
$_SERVER[‘PHP_AUTH_USER’] # When PHP is running as an Apache module and is using HTTP authentication, this variable is the user name entered by the user.
$_SERVER[‘PHP_AUTH_PW’] # When PHP is running as an Apache module and is using HTTP authentication, this variable is the password entered by the user.
$_SERVER[‘AUTH_TYPE’] # When PHP is running as an Apache module and is using HTTP authentication, this variable is the type of authentication.
$_SERVER[‘argv’] # Parameters passed to the script.
$_SERVER[‘argc’] # contains the number of command-line arguments passed to the program (if running in command-line mode).
$_SERVER[‘GATEWAY_INTERFACE’] # Version of the CGI specification used by the server. For example, “CGI/1.1”.
$_SERVER[‘SERVER_NAME’] # Host name of the server on which the script is currently running.
$_SERVER[‘SERVER_SOFTWARE’] # The string that identifies the server, given in the header in response to the request.
$_SERVER[‘SERVER_PROTOCOL’] # Name and version of the communication protocol when the page is requested. For example, “HTTP/1.0”.
$_SERVER[‘REQUEST_METHOD’] # Request method for page access. For example: “GET”, “HEAD”, “POST”, “PUT”.
$_SERVER[‘QUERY_STRING’] # $_SERVER[‘QUERY_STRING’] #
$_SERVER[‘DOCUMENT_ROOT’] # The document root where the script is currently running. Define in the server configuration file.
$_SERVER[‘HTTP_ACCEPT’] # The contents of the Accept: header for the current request.
$_SERVER[‘HTTP_ACCEPT_CHARSET’] # Accept-charset: the contents of the header for the current request. For example: “ISO-8859-1,*, UTF-8”.
$_SERVER[‘HTTP_ACCEPT_ENCODING’] # The contents of the Accept-Encoding: header of the current request. For example: “gzip”.
$_SERVER[‘HTTP_ACCEPT_LANGUAGE’]# Accept-language: contents of the header for the current request. For example: “en”.
$_SERVER[‘HTTP_CONNECTION’] # Connection of the current request: the contents of the header. For example: “Keep-Alive”.
$_SERVER[‘HTTP_HOST’] # The contents of the Host: header for the current request.
$_SERVER[‘HTTP_REFERER’] # link to the URL of the previous page of the current page.
$_SERVER[‘HTTP_USER_AGENT’] # Current request User_Agent: contents of header.
$_SERVER[‘HTTPS’] — Set to a non-null value (ON) if accessed over HTTPS, otherwise off
_server [‘REMOTE_ADDR’] # IP address of the user browsing the current page.
$_SERVER[‘REMOTE_HOST’] # Host name of the user browsing the current page.
$_SERVER[‘REMOTE_PORT’] # The port used by the user to connect to the server.
$_SERVER[‘SCRIPT_FILENAME’] $_SERVER[‘SCRIPT_FILENAME’]
$_SERVER[‘SERVER_ADMIN’] # admin information
_server [‘SERVER_PORT’] # port used by server
$>rver [‘SERVER_SIGNATURE’] # string containing the server version and virtual host name.
$_SERVER[‘PATH_TRANSLATED’] # The base path to the file system (not the document root) where the script is currently located.
$_SERVER[‘SCRIPT_NAME’] # This is useful when the page needs to point to itself.
$_SERVER[‘REQUEST_URI’] # The URI required to access this page. For example, “/index.html”.
$_SERVER[‘PHP_AUTH_USER’] # When PHP is running as an Apache module and is using HTTP authentication, this variable is the user name entered by the user.
$_SERVER[‘PHP_AUTH_PW’] # When PHP is running as an Apache module and is using HTTP authentication, this variable is the password entered by the user.
$_SERVER[‘AUTH_TYPE’] # When PHP is running as an Apache module and is using HTTP authentication, this variable is the type of authentication.
Read More:
- Array of PHP_ diff,array_ intersect,array_ merge, in_ Is there a limit on the number of arrays in array?
- PHP in Windows combined with bat batch processing to achieve multi process verification proxy server function
- After upgrading php7, PHP program prompts an error: operator not supported for strings in causes and Solutions
- Starbound official mod production (1) & nbsp
- The built-in filter function in Excel can’t contain all the items
- [solved] error: valueerror: expected 2D array, got scalar array instead
- PHP link database error PHP_ network_ getaddresses: getaddrinfo failed: Name or service not known
- Variable type error: error of array occurs when TP5 controller receives the array of post
- PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[08004] [1040] Too many connections
- Two dimensional array and pointer to one dimensional array
- php open(/var/lib/php/session/sess_4ofxxx, O_RDWR) failed: Permission denied (13)
- [Warning] incompatible implicit declaration of built-in function ‘strcat’
- PHP under linux uses pdo-dblib to connect to mssql to report an error solution. Error message: SQLSTATE[01002] Adaptive Server connection failed (severity 9)
- JavaScript removes the number specified in the array
- A yellow warning appears on the pagecontroller page in PHP! ! ! !
- Solution to null pointer error in array
- array initization in matlab zeros(1000)
- PHP – PHP Error[2]: Error while sending QUERY packet. PID=*
- Windows 8.1 – Fix This app can’t open for Built-in Administrator account
- How to solve the problem of requirements check failed for JDK 8 when Cordova 9.0 is built