Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search engine

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi guys,
I created a search engine using perl.Everything else seems to be working a'ight, except for the fact that when I click on search, I'm taken to the results page a'ight but no results show up.
The following is a few lines of my code...I believe the error is coming from the basedir or baseurl...I'm using Windows 98...Someone please help me out:

#!E:\Perl\bin\Perl5.6.0.exe
$basedir = '/Inetpub/$baseurl = '@files = ('nl2/*.htm');
$title = "N/L Tech";
$title_url = '$search_url = '


Thanks
 
Since you've got the nl2 part of the file name in the $basedir, do you need it in @files too? Maybe @files should just be '*.htm'. Also, you might want to make the pattern '*.htm*' so it will also match files ending in .html, which is fairly common, especially on unix systems. Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top