Seed7 - The extensible programming language
Seed7 FAQ Manual Screenshots Examples Libraries Algorithms Download Links
Libraries AES ARC4 Array ASN.1 Bigfile Bigint Bigrat Bin32 Bin64 Bitdata Bitmapfont Bitset Bitsetof Boolean Browser Bstring Bytedata Cards Category CC config Cgi Cgi dialog Char Charsets Cipher Clib_file Color CLI Commands Complex Console Crc32 Deflate DES Dialog Dir Draw Duration Echo Editline Enable_input Enable_io Enable_output Encoding Environment External_file File File system Float Font Forloop Ftp Getf Gethttp Gethttps Graph Graph_file Gzip Hash Hashsetof Hmac Html_ent Httpserv Idxarray Image Inflate Inflate file Inifile Integer Keybd Line Listener LZW Make Math Msgdigest Null_file Osfiles Picture utility Pixmap_file Pixmapfont PKCS #1 Poll Process Progs Propertyfile Rational Reference Ref_list Scanfile Scanstri Set Shell Smtp Sockbase Socket SQL base Stdio Strifile String Stritext Subrange Tar Text Time TLS/SSL Triple DES Unicode Utf16 Utf8 Vectorfont 3D Vector Window Wrinum X.509 Xmldom Xml_ent Zip
Libraries
Cgi Source Code
 previous   up   next 

Function Summary
hash [string] string
getCgiParameters (in string: paramStri)
Read the CGI parameters from the given paramStri.
hash [string] string
getCgiParameters (inout file: inFile)
Read the CGI parameters from the given file inFile.

Function Detail

getCgiParameters

const func hash [string] string: getCgiParameters (in string: paramStri)

Read the CGI parameters from the given paramStri. The parameter paramStri is assumed to consist of of name=value pairs separated with ampersands. Name and value may be percent-encoded. Both are decoded before they are entered into the hash table. A CGI script can use the environment variable QUERY_STRING as actual parameter for paramStri. Web servers usually assign the URL part after the '?' character to QUERY_STRING.

Returns:
a hash table containing CGI parameters as key, value pairs.

getCgiParameters

const func hash [string] string: getCgiParameters (inout file: inFile)

Read the CGI parameters from the given file inFile. The standard input file IN can be used as actual parameter for inFile.

Returns:
a hash table containing CGI parameters as key, value pairs.


 previous   up   next