PDA

View Full Version : Adding a search facility to a website



Sita Atis
10-21-2002, 04:48 AM
Is there any way I can use javascript to add a search facility to a website that will search the website (not the web such as google)? The website might be offline, What I mean is that the website will not be published with a URL (be online).

crono_logical
10-21-2002, 07:40 AM
With Javascript? I don't really know if it's powerful enough to do that. Perl could do it easily by having a simple function to recurse over an entire folder or something. But that means installing Perl, not to mention knowing how to script using it, which I can't :p

Burtsplurt
10-21-2002, 08:40 AM
www.hotscripts.com have quite a lot of things like that.

Here (http://www.hotscripts.com/PHP/Scripts_and_Programs/Search_Engines/) are the search engines written in PHP. You'll probably need MySQL though, so you might want to have a look in the Perl category.

Sita Atis
10-21-2002, 03:18 PM
Thanks guys, sadly I can only implement it if it's in javascript because it is for an assignment where the grades go towards the javascript you use for the website, so I can't use any other language like perl.