When the browsers and servers send strings back and forth, they are
encoded to accomodate things like spaces and other special characters.
When you fill out a browser form and POST it to a script, the fields in
the form are encoded into a string, which then has to be decoded. 

So, if a form had the fields Email and Message, you could send the
Message to the Email address with

query: make object! decode-cgi-query system/options/cgi/query-string
send query/Email query/Message

For more on the CGI in general, try

http://hoohoo.ncsa.uiuc.edu/cgi/overview.html

and

http://bignosebird.com/lscgi.shtml

HTH.

-Ted.

*********** REPLY SEPARATOR  ***********

On 1/17/2000 at 12:22 AM [EMAIL PROTECTED] wrote:

hey guys,

trying to run some of the REBOL cgi's, I get "decode-cgi expected
argument of type..."  Ok. I looked, honest! but is "decode cgi" a
script, or arguments I pass to the script, or what.  If arguments, what
form should they take?  Or what else am I not doing right?

thanks,
-- 


-t



Reply via email to