Understanding $_SERVER[’PHP_SELF’], $PHP_SELF, $_SERVER[’REQUEST_URI’] and $_SERVER[’SCRIPT_NAME’] in PHP and when to use what
Date: 06/03/05
(Java Web) Keywords: php
This article unravels the mysterious and sparsely documented functionality of the above mentioned PHP global variables.
Source: http://blog.taragana.com/index.php/archive/understanding-_serverphp_self-php_self-_serverrequest_uri-and-_serverscript_name-in-php-and-when-to-use-what/
|