Name: CGI-DECODE
Section:
Variables
Synopsis:
<cgi-decode STRING [PACKAGE]>
Description:
Decode STRING into PACKAGE.
If PACKAGE is not specified the current package is used.
STRING is a string that might have appeared in QUERY_STRING
or the contents of the data that was posted to a document, such that it consists of name value pairs:
FOO=bar&STRING=this+is+a+string%2C+other+chars
PACKAGE is the name of a package to bind the variables in. So, given the above example as the text in a variable called STRING, here is what you get:
<set-var string="FOO=bar&STRING=a+string%2C+other+chars">
<cgi-decode <get-var string> mypack>
<get-var mypack::string>
produces:
a string, other chars
Also see cgi-encode
.
Edit Pointer
Function Index
Variable Index
Variable Editor

The
META-HTML
Reference Manual V1.4
Copyright © 1995, 1996,
Brian J. Fox,
1996, 1997 Universal Access Inc.
Found a bug? Send mail to
bug-manual@metahtml.com