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.
------------------------
$_DOCUMENT_ROOT VARIABLE
------------------------

  -----------
  DESCRIPTION
  -----------

    The $_DOCUMENT_ROOT variable stores the physical path to the PTM developer's
    root web accessible directory and should be manually set at the time of PTM
    installation. It can be the full physical path, or the relative path from
    the PPA (PTM Parser Application) [ptm.cgi] to the document root directory.
    In the rare instance that you are on a 100% dedicated server and the default
    DocumentRoot directory assigned in Apache's httpd.conf file is your document
    root, this variable does not need to be set, as the PPA will default to
    Apache's defined DocumentRoot. In all other circumstances it must be set to
    your personal root web accessible directory, as it is used to locate
    requested script files and is used in creation of the $_PATH variable, which
    stores the directory to which the PPA will set its working directory. Even
    if you are only going to be using PTM scripts in a subdirectory of your
    site, it is necessary to set this variable to the root web accessable
    directory, because the relative paths it creates later on are based with the
    belief that they are relative to the lowest web accessible directory in the
    file tree.

  --------
  SEE ALSO
  --------

    VARIABLES

      $_BASE, $_PATH, $_SCRIPT, %_SERVER, $_URL
Home    SVN    Downloads    Documentation    Forum    Contact