View / Download this file.
-----------------
$_SCRIPT VARIABLE
-----------------
-----------
DESCRIPTION
-----------
The $_SCRIPT variable stores the name of the requested PTM script file. No
path, or anything other than the file name is included. The purpose of this
variable is simply to hold the name of the script file. It can be referenced
on a path basis either by prefixing it's use with $_PATH, for the physical
system path of the script, or $_BASE, for the web accessible URL path to the
script.
--------------
USAGE EXAMPLES
--------------
--------------------------------------------------------------------------
Example 1: Showing the Script's URL After Any URL Redirection Has Occurred
--------------------------------------------------------------------------
The URL to this PTM script is <?= "$_BASE$_SCRIPT" ?>
-------------------------------------------------
Example 2: Posting a Form back to the Same Script
-------------------------------------------------
<form action="<?= $_BASE$_SCRIPT ?>" method="POST">
--------
SEE ALSO
--------
TAGS
DISPLAY
VARIABLES
$_BASE, $_PATH, $_URL
|