T
Toby Newman
Hi,
I'm using Matt's Simple Search script, and have set it up to work
correctly. It searches my '/home/public_html/' directory and returns
results. Great!
Problem:
I'd like it to search through *.wiki files (they're just text files)
in '/home/wiki/', i.e. not inside my public_html folder.
It doesn't seem to work!
i.e It works if I use the following variables:
$basedir = '/home/public_html/';
$baseurl = 'http://www.asktoby.com/';
@files = ('*.html','*.php');
$title = "TITLE";
$title_url = 'http://www.asktoby.com/';
$search_url = 'http://www.asktoby.com/search.html';
But if I use these variables:
$basedir = '/home/wiki/';
$baseurl = 'http://www.asktoby.com/';
@files = ('*.wiki');
$title = "TITLE";
$title_url = 'http://www.asktoby.com/';
$search_url = 'http://www.asktoby.com/search.html';
I get no results.
Why could this be?
Thanks for any insight you can give.
Toby
(ps I am working on my ISP's server, not locally).
I'm using Matt's Simple Search script, and have set it up to work
correctly. It searches my '/home/public_html/' directory and returns
results. Great!
Problem:
I'd like it to search through *.wiki files (they're just text files)
in '/home/wiki/', i.e. not inside my public_html folder.
It doesn't seem to work!
i.e It works if I use the following variables:
$basedir = '/home/public_html/';
$baseurl = 'http://www.asktoby.com/';
@files = ('*.html','*.php');
$title = "TITLE";
$title_url = 'http://www.asktoby.com/';
$search_url = 'http://www.asktoby.com/search.html';
But if I use these variables:
$basedir = '/home/wiki/';
$baseurl = 'http://www.asktoby.com/';
@files = ('*.wiki');
$title = "TITLE";
$title_url = 'http://www.asktoby.com/';
$search_url = 'http://www.asktoby.com/search.html';
I get no results.
Why could this be?
Thanks for any insight you can give.
Toby
(ps I am working on my ISP's server, not locally).