[REBOL] Re: Problem with CGI
From: petr:krenzelok:trz:cz at: 25-Jan-2004 11:48
ZikZak wrote:
>Hi,
>
>I'm a beginner and I don't understand why I can not obtain some informations.
>If I try to : mold system/options/cgi/query-string then the system doesn't give to me
the informations.
>
>Why ?
>
system/options/cgi is object, which is being given data only if rebol is
run in cgi mode, so - do you run your rebol session using -c option?
#!/path/to/rebol/rebol -c
REBOL []
your script here ... don't forget to print following two lines first:
print "Content-Type: text/html"
print newline
btw: what OS and what web server do you use?
-pekr-