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.
--------------
$_CGI Variable
--------------

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

    The $_CGI variable is simply an instantiation of Perl's CGI module. It is
    declared as "our $_CGI = new CGI;". $_CGI provides an object-based interface
    to CGI functionality for Perl programmers used to using the CGI module in
    their web-based projects. It is used internally in PTM to handle some of the
    URL, GET/POST, and HTTP header data. It does not need to be used by the
    average PTM developer, but is there for those that want it. For more
    information on how to use a CGI object, see the CGI module documentation on
    CPAN.org, or your favorite Perl documentation resource.
Home    SVN    Downloads    Documentation    Forum    Contact