[REBOL] Re: Problem with CGI
From: ZikZak::wanadoo::fr at: 25-Jan-2004 14:10
Le Sun, 25 Jan 2004 05:29:04 -0700
<[ammon--addept--ws]> a =E9crit :
||Ok, what you are seeing here is that PRINT will try to obtain the
|value of a|WORD! (datatype) within a block. the simple fix for the
|error you are seeing|is to enclose the words "Email Status" in quotes
|thus making it a STRING!|instead of a word. This should work...
||rebol [title: "EMail"]
||print "content-type: text/html^/"
||cgi: make object! decode-cgi data
||print [<HTML><BODY><h1>"Email Status"<h1><hr><P>]
Thank you, it works now.
quotes in the HTML code is strange, but I will take care of this kind of problem for
my next try.