PHP Based Website Search

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
centipede
Forum Newbie
Posts: 7
Joined: Thu Sep 04, 2003 9:45 pm

PHP Based Website Search

Post by centipede »

I am having difficulty finding help on / or source code etc for a fairly basic website search that is PHP based. Does anyone have suggestions where to begin looking? It is a difficult subject to research, since search engines pull up all kinds of results that are not related (searching for 'php website search' pulls up any site that has a search feature for example).


Thanks

-invid
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

All depends how you want to do it, and how complex you want to make it. You can simply place content on pages in a database so that you can search it that way. Or you could mimic how large search engines work and spider your site to collect info on it and then use that data.

Just search google for a tutorial on searching with php and im sure youll get a lot of results.
crabyars
Forum Commoner
Posts: 37
Joined: Thu Jun 17, 2004 8:24 pm

Post by crabyars »

I'm working on a similar project, and it's spiraling into complexity :( Fulltext search or not? Linked tables? so much to learn...
Post Reply