Forum Moderators: coopster

Message Too Old, No Replies

Search Feature on HTML site w/PHP capability

         

flycast

3:15 am on Jan 21, 2005 (gmt 0)

10+ Year Member



I have been asked to add a search feature to an existing site written by somebody else. The site is all plain html. The customer wants to search by keyword and by employee name. I understand how to do this with PHP/MYSQL. The site has PHP capability but the site is currently not MYSQL.

Can somebody please give me some pointers on The best way to do a search on a bunch of html source files?

Or better yet, is there a prewritten code out there for this purpose that somebody knows about?

Thanks

frank999

8:28 am on Jan 21, 2005 (gmt 0)

10+ Year Member



I have a standard perl script that searches flat HTML pages (it's at least 5 years old, there's dozens of them around). Searching by Keyword is easy and most scripts will allow you to set Boolean AND so you could include a droplist of employee names which forces the website visitor to choose an employee and then insert a keyword in order to complete the search.

At least it sounds simple enough... ;)

coopster

4:17 pm on Jan 21, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, flycast.

There are quite a few threads on this topic here at WebmasterWorld. A quick search over the forums should turn up plenty of reading.