[REBOL] Re: Problem with CGI
From: carl:cybercraft at: 26-Jan-2004 20:47
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 in
your example below.) Query-strings are used on servers to catch the
information added to the end of URLs, such as...
http://www.google.com/search?q=rebol
There, the "q=rebol" after the "?" is the query-string. If the Google
website was using REBOL, "search" would be the script-name and each
time it was run when someone did a search
system/options/cgi/query-string would be loaded with what follows the
?
.
So, as far as I know, (I could be wrong - I'm no CGI expert),
query-strings are only useful when REBOL is running on a server.
If however you knew all that, are running REBOL on a server and still
are having problems, then a fuller explanation of your problem is
probably needed.
Carl Read.
> Regards
> --
> ZikZak
> REBOL/Core 2.5.6.4.2
> Copyright 1997-2003 REBOL Technologies
> REBOL is a Trademark of REBOL Technologies
> All rights reserved.
> Component: "REBOL Mezzanine Extensions" 1.1.2.1
> (30-Nov-2002/13:47:03) Component: "REBOL Internet Protocols"
> 1.59.2.15 (15-Nov-2002/5:20:31) Finger protocol loaded
> Whois protocol loaded
> Daytime protocol loaded SMTP protocol loaded
> POP protocol loaded
> IMAP protocol loaded
> HTTP protocol loaded
> FTP protocol loaded
> NNTP protocol loaded
> Component: "System Port" 1.1.2.5 (2-Jan-2003/1:37:25) Script: "User
> Preferences" (8-Jan-2004/20:52:19+1:00)
>>> mold system/options/cgi/query-string
> == "none"
>>>
--
Carl Read