On Feb 4, 2008 2:48 PM, Jason Pruim <japruim@xxxxxxxxxx> wrote: > Hi Everyone! :) > > Just a quick question, I've done some googling but haven't been able > to find what I need... I am looking at doing a search function for > someone's website, the website is just static HTML files, and she > doesn't want to redo the entire website to make it dynamic. > > What I am thinking (And please correct me when I'm wrong!) is that if > I maintain a database with keywords in it, and links to the pages it > exists on, I can implement the search easily enough without redoing > the entire website. IE: Someone searches the database for "Flowers" > and flowers are the main product on: "Flowers.html" and > "fakeFlowers.html" so on the page, I would display: > > Search Term: Flowers > > Search Results: > link.to.site/Flowers.html > link.to.other.site/fakeFlowers.html > > Is there anything wrong with the way I'm thinking? Or is it that there > is a better way to search through a static HTML site? There are plenty of free PHP spider scripts, which is what you need. Otherwise, it's not that difficult to write your own system. -- </Dan> Daniel P. Brown Senior Unix Geek <? while(1) { $me = $mind--; sleep(86400); } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php