PTM Logo Version 0.5.1 Beta
Home    SVN    Downloads    Documentation    Forum    Contact
This Site is 100%
Powered by PTM

SourceForge.net Logo
Documentation
I   Index
II   GNU GPL
III   Description
IV   Installation
V   Language Overview
VI   Tags
VII   Variables
  $_BASE
  $_CGI
  %_COOKIES
  $_DEFAULT_PTM_FILE
  $_DOCUMENT_ROOT
  %_GET
  $_HEADER
  @_KEYWORDS
  $_PATH
  %_POST
  @_PTM
  $_PTM_POS
  $_PTM_PREPROCESS
  @_REQUIRE
  $_SCRIPT
  %_SERVER
  %_SESSION
  %_SET_COOKIES
  $_SYNTAX_...
  $_URL
  $_USE_SECURE_SCRIPT_PASSING
  $_VERSION
VIII   Functions
IX   Modules
Documentation
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
Home    SVN    Downloads    Documentation    Forum    Contact