help with a pre-installed search script

They have: 304 posts

Joined: Dec 1999

Hello,

I have several preinstalled CGI scripts (given by my host).
I need to use the search script. Here's the problem:

The script works fine if I use the full URL. I get a page with a search box. The page is with the .CGI file extention.

I want to run the script from a regular input box (HTML form) that would be embedded in all my HTML files.

I tried using this HTML code:

exsearch

But what happens is when you hit the "search" button on the form, you are sent to the .cgi page and need to start the whole search again. This, instead of actually getting the result page.

What should I change? I'm no expert in CGI's or Perl, but I have a feeling the change should be with the HTML code. How do I call for a CGI to run from HTML files?
By the way, I tried changing the method to post, but it gives the same results.

Thanks.

Anat

They have: 88 posts

Joined: Mar 1999

I'm no expert but you could try and see if
this works:

Replace This:

With This:

(I would check that the path to your search script
is correct)

Replace This:

With This:

Hope that helps - don't forget to check the path to
your script. BTW as I said i'm no expert.

Cheers

Steve

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.