[REBOL] Re: Problem with CGI

2004-01-25 Thread Gabriele Santilli
Hi ZikZak, On Sunday, January 25, 2004, 2:10:24 PM, you wrote: Z> Thank you, it works now. Z> quotes in the HTML code is strange, but I will take care of Z> this kind of problem for my next try. That's because that is not HTML code, but REBOL code. If you quote it, as one big string, you don't

[REBOL] Re: Problem with CGI

2004-01-25 Thread ZikZak
Le Sun, 25 Jan 2004 05:29:04 -0700 "Ammon Johnson" <[EMAIL PROTECTED]> a écrit : || ||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

[REBOL] Re: Problem with CGI

2004-01-25 Thread Ammon Johnson
][ [{the email to} cgi/email {was sent.}] ] print {} HTH ~~Ammon ;-> - Original Message - From: "ZikZak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 25, 2004 5:09 AM Subject: [REBOL] Re: Problem with CGI > >

[REBOL] Re: Problem with CGI

2004-01-25 Thread ZikZak
||A useful resource is www.rebol.org try searching for CGI and you will |find|many usefull examples and tools. || ||HTH ||~~Ammon ;-> unfortunately this is an example I tried to use. When I submit my form, my server returns an error page displaying this message : ** Script Error: Email has no va

[REBOL] Re: Problem with CGI

2004-01-25 Thread Ammon Johnson
You got exactly what you were looking for. The molded value of system/options/cgi/query-string from a fresh console is "none" If you would like to know what the query string looks like try uploading a script to your server that looks something like: #!/path-to-rebol/rebol -cs print "Content-Ty

[REBOL] Re: Problem with CGI

2004-01-25 Thread ZikZak
Le Sun, 25 Jan 2004 11:48:20 +0100 Petr Krenzelok <[EMAIL PROTECTED]> a écrit : ||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 ... d

[REBOL] Re: Problem with CGI

2004-01-25 Thread Petr Krenzelok
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 r

[REBOL] Re: Problem with CGI

2004-01-25 Thread Carl Read
On 25-Jan-04, 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 ? Because there's none to give. (When REBOL is first launched, as