Simple Search, Version 1.0

Search this site

 

 


Download this script here

Need more help? e-mail me!

About this script

This is a small and quick search script, that crawls on-line through your web site.

It looks for the text entered in the text box and displays in the result page all the pages that matche the search criteria numbered from 1. 

Below each page found there is a preview of up to 2 lines of the found text. Also, searches are not case sensitive and HTML tags are ignored.

The result page also displays the search box with the searched text displayed as entered in the search form.

Both the search form and the result page are very light and both can be easily integrated into your web site's look and feel.

Installing the script

1. Download the zipped file. It should contain 3 files: simple_search.pl, index.txt, result_page.htm, search_form.htm.

2. Configure the index.txt file as described below.

3. Upload all files to your cgi-bin directory (or wherever you run your perl scripts for).

4. Thats it!

Configuration

1. Configure the first line in the Perl script to suit the path to Perl on your server.

2. Configure the index.txt text file as follows:

../producs_eng_08.html|Red Products Page

../games/space/new_games_index.htm|Check Our New Games

 

Demo:

You can check this script by using the serach box at the top of the page.

The index.txt file contains only few pages, so try text like "table" or "052" or any word on this page.


Enjoy!

Niv

Check my News Flash script for managing your own news page on your site

Need more resources? Check Only CGI !

 

http://ilpsc.tripod.com

nzvi@qos.net.il