tags:

views:

61

answers:

3

Hi, I am pretty new to web development and I want to create a search system on my webpage, but I dont have any idea how to?

This search system must be able to search everything that is displayed on the webpage.

Please help me.

A: 

You can try Zend_Search_Lucene. It's a port of the well-regarded Apache Lucene search system.

Matthew Flaschen
but it's a framework, i am not so experienced in PHP, I think going for a framework would be a big jump for me. Any basic approach?
Starx
It's well-documented, so I think it should be easier to use than some random script.
Matthew Flaschen
He's looking for an _easy_ way, and he's just starting out. Lucene gets complicated quickly even for an experienced developer!
Entendu
A: 

you can use strpos

http://fr.php.net/manual/en/function.strpos.php

Xavier Combelle
How is this a search system?
ggfan
+1  A: 

Use Google Site Search: http://www.google.com/sitesearch/

That's the easiest way. There are other ways (Lucene, Solr, etc) but for most applications -- especially if you're just starting out -- Google Site Search is more than enough.

Entendu