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
In reply to simple search script by thebeginner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |