> The next feature I want to add is a commenting system. I want the reader
to
> be able to click on a hyperlink for "comments" which will then execute a
.cgi
> script. The .cgi script will then render a page including all of the
comments
> people have posted in regards to the news article in question. The
question I
> have is, how do I pass a value to a script from a hyperlink so that the
> script renders the correct set of comments?
Encode you hyperlink like this.
http://cgi.zipworld.com.au/~bhandley/cgidump.r?your-id=123456789
Which would be the same as if a HTML form was submitted with an input
element of "your-id" that value 123456789.
> I have thought of another option, albeit more cumbersome. During the time
the
> main script creates object expressions for the news articles themselves,
the
> script could create a separate .cgi script just for that article.
Probably overkill.
> But how can I write a script to a directory and then make the script
executable all at
> the same time? I'm thinking the web server will see the .cgi extension and
> assign it executable status, but I'm not sure that is always the case.
I'm little curious about this myself.
Hope this was what you wanted.
Brett.
- [REBOL] adding data to hyperlinks, etc. norsepower
- [REBOL] adding data to hyperlinks, etc. Re: norsepower
- [REBOL] adding data to hyperlinks, etc. Re:(2) Al . Bri
- [REBOL] Updating Lists in View/VID carl
- [REBOL] adding data to hyperlinks, etc. Re:(2) tim
- [REBOL] adding data to hyperlinks, etc. Re:(2) RChristiansen
- [REBOL] adding data to hyperlinks, etc. Re:(3) RChristiansen
- [REBOL] solved (was adding data to hyperlin... RChristiansen
- [REBOL] Re: Adding data to hyperlinks, etc. alex . pini
- bhandley
