Php: function used to obtain the current url path. PHP: QUERY_STRING, REQUEST_URI, and SCRIPT .. PHP obtains the functions and server variables of the current url path: QUERY_STRING, REQUEST_URI, SCRIPT ..??? Php code ?? $ _ SER function for php to obtain the current url path
To:
Functions for PHP to obtain the current url path: QUERY_STRING, REQUEST_URI, SCRIPT... PHP to obtain the current url path functions and server variables: QUERY_STRING, REQUEST_URI, SCRIPT ..?
?
?
Php code ??
- $ _ SERVER ["QUERY_STRING"]: obtain the query statement. Which of the following statements can be obtained in the instance? The following value ??
- $ _ SERVER ["REQUEST_URI"]? Obtain the value after http: // 172.16.1.7, including /??
- $ _ SERVER ["SCRIPT_NAME"]? Obtain the path of the current script, such as jms. php ??
- $ _ SERVER ["PHP_SELF"]? File name of the script being executed ??