PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Ada 95 binding to CGI (Common Gateway Interface)


MOVEMENT WITHIN THE PAL CARD CATALOG
Move to top-level taxonomy
Move to keyword list

ASSET PROFILE

UNIT NAME
CGI (Common Gateway Interface)
VERSION
1.3
REVIEW CODE
NR; CS(GNAT)
INET ADDRESS
Author's email address is wheeler@ida.org
AUTHOR
David A. Wheeler
IDA
1801 N. Beauregard St.
Alexandria, VA 22311-1772
(703) 845-6662
RIGHTS
Approved for Public Release; Distribution Unlimited
COPYRIGHT
(C) 1995 David A. Wheeler
DATE CREATED
June 1995
DATE RELEASED
October 1995
DATE LAST UPDATED
October 1995
LOCATION
PAL
ENVIRONMENT
Requires an Ada 95 compiler; is known to work with GNAT.
The files are Unix-formatted text files.
The programs run under Unix.
LIMITATIONS
The CGI interface requires an operating system to support
environment variables.
CERTIFICATION
None at this time


FILE LISTING

Directory Display


languages/ada/swcomps/cgi:
  File Name                 Size
  ---------                 ----
  README                   1,503
  cgi-doc.htm             10,854
  cgi.html                10,854
  cgi.zip                 23,232


Totals
  ==============  ==============
    4 Files               46,443

ABSTRACT

Package CGI is an Ada 95 interface to the Common Gateway Interface
(CGI). This package makes it easier to create Ada programs that can be
invoked by World-Wide-Web (WWW) HTTP servers using the standard CGI
interface. Using it, you can create Ada programs that perform queries or
other processing by request from a WWW user.
 
This package is copyright (C) 1995 David A. Wheeler (wheeler@ida.org).
You are free to use it in anything you wish without restriction or
payment, but please provide credit if you use this package.
 
This Ada package provides two data access approaches from the CGI:
* As an associative array; simply provide the key name (as a string)
  and the value associated with that key will be returned.
* As a sequence of key-value pairs, indexed from 1 to Argument_Count.
This access approach is similar to the Ada library Ada.Command_Line.

The main access routines support both Ada 95 types String and
Unbounded_String.


REVISION HISTORY

Version 1.0  26 June 1995  David Wheeler  Initial release to the PAL
Version 1.3  October 1995  David Wheeler  Update


RELEASE NOTICE

This prologue must be included in all copies of this software.
Restrictions on use or distribution:  NONE
However, users are requested to give credit if this package is used.


DISCLAIMER

	This software and its documentation are provided "AS IS" and
without any expressed or implied warranties whatsoever.  No warranties
as to performance, merchantability, or fitness for a particular
purpose exist.
	The user is advised to test the software thoroughly before
relying on it.  The user must assume the entire risk and liability of
using this software.  In no event shall any person or organization of
people be held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits.
        This software is not endorsed by the Institute for Defense
Analyses (IDA) or the U.S. Department of Defense (DoD).