Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[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 Johnson <[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 -cs || ||rebol [title: "EMail"] || ||print "content-type: text/html^/" || ||data: system/options/cgi/query-string || ||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. -- ZikZak