On Mon, Mar 15, 2004 at 09:25:36AM -0800, Bill Pavich wrote:
> Yes, I know. You can simply use href html tags like so with the index
> predefined and search terms predefined on the command line:
> 0\"weather page pubdate=031504\">Weather Page for March 15, 2004</a>
> Then, in swish-quick.cgi:
> My $indexargument = $ARGV;
> My $searchstringargument = $ARGV;
No. With CGI you pass in a valid request, the server sets up the environment
with the CGI parameters and then runs the cgi program. The cgi params are not
available via @ARGV they are either available from stdin with POST or in QUERY_STRING
with GET requests.
Say you want a predefiend search for the phrase "swish.cgi" you could
Search for "swish.cgi"
> Am I just way off on this, or does that sound like something that's
You want to show search results, right? The pass in a URL that
generates the search results. It should be that simple.
Received on Mon Mar 15 09:39:17 2004