Snippets tagged “request-uri”
2 snippets use this tag.
- PHP_SELF vs PATH_INFO vs SCRIPT_NAME vs REQUEST_URIPHP
PHP_SELF, PATH_INFO, SCRIPT_NAME, and REQUEST_URI are all superglobal variables in PHP that provide information about the current URL being requested.
- Request string without GET argumentsPHP
In PHP, you can use the $_SERVER['REQUEST_URI'] variable to get the request string without GET arguments.