Categorized | News

Simple Text Search Script

Posted on 06 August 2002 by Demian Turner

If you need a quick and dirty fix for a site search engine, give the following script a go.

The principle is very simple, the script builds an array of the pages you want to make \’searchable\’, then reads through the files line by line preg_matching your query term against the pages\’ text.

Give it a try, much room for improvement 😉

Bookmark and Share

1 Comments For This Post

  1. demian Says:

    http://www.phpkitchen.com/viewableCode/simpleSearch.phps

Leave a Reply

Categories

Books

Demian Turner's currently-reading book recommendations, reviews, favorite quotes, book clubs, book trivia, book lists

Facebook