CGI Complete Website Search Script

by Hiroshi on 09-04-2008

Here is the CGI script for complete website search. It searches all static pages and text in these pages. Great script it you have static website and just want to add a ready to use thorough search into your website. Author information of this script is in downloadable files.

Installation 

Just edit these variables in pl file, upload it and make sure to set its CHMOD to 755.
As below
@ files contains '*.html' and
additional old/ and javed/ tells script to search from those directories too.
This script searches text from html files.

$basedir = '/home/javedkh/public_html/';
$baseurl = 'http://www.techmynd.com/';
@files = ('old/','javed/','*.html');
$title = "Tech Mynd";
$title_url = 'http://www.techmynd.com/';
$search_url = 'http://www.serverpath.com/cgisearch.html';

Download Full Script With Instructions

  • Share/Save/Bookmark

Stumble it Digg it Bookmark it Tweet it Share at Facebook

Related Posts

Post a Comment

Comment will appear here after approval, Thanks for patience