PHP functions for obtaining the current url path: QUERY_STRING, REQUEST_URI, SCRIPT .. PHP obtains the functions and server variables of the current url path: QUERY_STRING, REQUEST_URI, SCRIPT .. $ _ SERVER ["QUERY_STRING"]: obtain the query statement. Which of the following statements can be obtained in the instance? Function for PHP to obtain the current url path: QUERY_STRING, REQUEST_URI, SCRIPT ..
PHP obtains the functions and server variables of the current url path: QUERY_STRING, REQUEST_URI, SCRIPT ..
$ _ SERVER ["QUERY_STRING"]: obtain the query statement. Which of the following statements can be obtained in the instance? The following value $ _ SERVER ["REQUEST_URI"] obtains the value after http: // 172.16.1.7, including/$ _ SERVER ["SCRIPT_NAME"] to obtain the path of the current script, for example: jms. php $ _ SERVER ["PHP_SELF"] file name of the script currently being executed