View / Download this file.
--------------
$_URL VARIABLE
--------------
-----------
DESCRIPTION
-----------
The $_URL variable stores the full requested URL (before any potential
redirection), not including any "?name=value" URL [GET] additions. This is
simply the URL requested by the user. To retrieve any "?..." additions to
the URL, you can reference $_SERVER{'QUERY_STRING'} or the %_GET and
@_KEYWORDS variables. To reference the actual URL path AFTER any potential
URL redirection has occured, see documentation on the $_BASE variable.
--------------
USAGE EXAMPLES
--------------
-----------------------------------------
Example 1: Displaying the URL to the User
-----------------------------------------
You requested this page at <?= $_URL ?>
--------
SEE ALSO
--------
TAGS
DISPLAY
VARIABLES
$_DOCUMENT_ROOT, $_BASE, $_PATH, $_SCRIPT, %_SERVER
|