thebeginner has asked for the wisdom of the Perl Monks concerning the following question:
I adopted it from MSA (Matt's Script Archive which< was later adopted by NMS) It seems it isn't working correctly.. I changed the variables as suggested in readme.txt and during my first test run it's gives me an error. ...????
.....This is the portion of the script I changed....
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# 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 = '/hamida/www/'; my $baseurl = 'http://www.hamidapharma.com/'; my @files = ('*.html','*/*.html'); my $title = "Hamida Search Program"; my $title_url = 'http://www.hamidapharma.com'; my $search_url = 'http://www.hamidapharma.com/international.htm' +; my @blocked = (); my $emulate_matts_code = 1; my $style = '';
My site is http://www.hamidapharma.com/international.htmmy $hit_threshhold = 1; my @subdirs = ('','/manual','/vmanual'); my $no_prune = 1; # USER CONFIGURATION << END >> # ----------------------------
MSA - script http://www.scriptarchive.com/search.html
host's cgi-bin. (www.hostway.com)
Any help is greatly appreciated...
thank you mucho....
sima
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: simple search script
by Thelonius (Priest) on Jul 18, 2003 at 21:26 UTC | |
by Anonymous Monk on Jul 19, 2003 at 00:01 UTC | |
|
Re: simple search script
by LazerRed (Pilgrim) on Jul 18, 2003 at 20:43 UTC | |
|
Re: simple search script
by Anonymous Monk on Jul 30, 2003 at 18:03 UTC |