Nick Cleaton/Dave Cross.. have been kind enough
to help me out in figuring why I am still getting
this error message:

'D:\WWWRoot\hamidapharmacom\www\cgi-bin\search.cgi
but even after making the changes
it still doesn't work and hostway NEVER gets
back to inquires re:script.

I am using *.htm and *.html.. because most
of the files are .htm but not all

Here is the script I am using:

USER CONFIGURATION SECTION ## Modify these to your own settings.
You might have to
# contact your system administrator if you do not run
# your own web server. If the purpose of these
# parameters seems unclear, please see the README file.
# BEGIN { $DEBUGGING = 1; }
my $basedir = 'D:\wwwroot\hamidapharmacom\www';
my $baseurl = 'http://www.hamidapharma.com/';
my @files = ('*.html,*.htm');
my $title = "Hamida Search Program";
my $title_url = 'http://www.hamidapharma.com';
my $search_url = 'http://www.hamidapharma.com/form.html';
my @blocked = ();
my $emulate_matts_code = 1;
my $style = '';

# the following config variables only affect the program if
# $emulate_matts_code is switched off $hit_threshhold is
what the minimum
# amount of hits per page that are required for the match
to be outputted
my $hit_threshhold = 1;
my @subdirs = ('','/manual','/vmanual');
my $no_prune = 1;
# # USER CONFIGURATION << END >>
# ---------------------------- # (no user serviceable parts beyond here)

In reply to Re: simple search script by Anonymous Monk
in thread simple search script by thebeginner

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.