Php – How to build a in-site search engine with php

PHPsearch

I want to build a in-site search engine with php. Users must login to see the information. So I can't use the google or yahoo search engine code.

I want to make the engine searching for the text and pages, and not the tables in mysql database right now.

Has anyone ever done this? Could you give me some pointers to help me get started?

Best Answer

you'll need a spider that harvests pages from your site (in a cron job, for example), strips html and saves them in a database