Well, using...
cgi-input: make object! decode-cgi system/options/cgi/query-string
and then calling "comments-reference" using cgi-input/comments-reference
from the url...
http://www.beosjournal.com/cgi-bin/displaycomments.cgi?comments-reference=
20000715121834
Worked! I can now view the comments page, although there are no comments yet
and here is why: I need to send another reference value to another script
which processes submitted comments. When I try to submit a comment, I get an
error because the url ends up being as follows...
http://www.beosjournal.com/cgi-bin/processcomments.cgi?article-reference=
20000715121834?heading=First+comment&body=No+comment.&name=G&email=g%40g.mib
As you can see, I try to pass an "article-reference" value by appending the
url and then also try to pass form values along with the same query string,
producing double "?" query string markers. I'm working on this. I need to
figure out how to pass a static value with a form, one that is not generated
or chosen by the submitter.
-Ryan
- [REBOL] CGI Re:(3) danielsz
- [REBOL] CGI Re:(4) kevin
- [REBOL] CGI Re:(5) danielsz
- [REBOL] CGI Re:(4) mailinglists
- [REBOL] CGI Re:(5) danielsz
- [REBOL] CGI Re: danielsz
- [REBOL] CGI Re:(2) jeff
- [REBOL] CGI Re:(3) allenk
- [REBOL] cgi RChristiansen
- [REBOL] cgi Re: tim
- [REBOL] cgi Re:(3) norsepower
- [REBOL] cgi Re:(3) norsepower
- [REBOL] cgi Re:(4) norsepower
- [REBOL] cgi Re:(3) Al . Bri