faqts : Computers : Programming : Languages : PHP : Database Backed Sites : General

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 6 people (67%) answered Yes
Recently 1 of 3 people (33%) answered Yes

Entry

Is there any way I can search through a website for a word using PHP without having to use a database

Jun 23rd, 2000 01:34
Manuel Lemos, Dave Martindale,


A frequently used tool to index and search Web pages that were generated
or not by PHP is HTDig.  It uses a file base database, so you do not need
to run an actual database server.
http://www.htdig.org/
You may want to try this PHP class that simplifies the tasks of creating a
configuration file, indexing the pages you want and searching in the
generated index for a user defined search. The example scripts demonstrate
how to execute each step including building a search form with a result
pages with a limited amount of found entries with links for each of the
result pages.
http://phpclasses.UpperDesign.com/browse.html/package/26