

You can review the cgi-lib.rxx REXX PROCEDUREĮxamples of how to decode the special characters. This string is encoded in the standard URLįormat which changes spaces to +, and encoding special characters Search for in databases, or perhaps the encoded results This information could beįorm (with the GET action). QUERY_STRING is defined as anything which follows the first ? in

The input may be sent to the script in several ways depending on the Gateway programs conforming to this specification can be written in any language, They have been made executable to allow them to run under various Themselves (but you wouldn't want to except for debugging purposes).

Gateway programs are executable programs (e.g. Programs, or gateways, under an information server. The CGI is an interface for running external Server, the reader may wish to first view a document providingīesides improving security, this wrapper also simplifies the taskīefore embarking on writing a script, you may also want to check out Security and other risks associated with executing user scripts in a WWW Server Side Scripts written by Brigitte Jellinek is available under Gnu Is a similar library in Perl written by Steve Brenner (there is an executableĬopy of this libary at SLAC in /afs/slac/g/NCSA has a very useful set of Perl CGIĪvailable via anonymous FTP.Another set of Perl CGI To include the library at execution time)and Library of functions (available at SLAC by using the REXXĬALL PUTENV 'REXXPATH=/afs/slac/www/slac/www/tool/cgi-rexx' There are some simple software libraries to facilitate writing CGI scripts. Though the main emphasis is on REXX many examples are also provided Scripts using WWW's Common Gateway Interface ( This Guide is aimed at people who wish to write their own WWW executable
