English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

l am looking for a free PHP search engine script for a web site. l would like one that is not too complicated. Does anyone know where to go for such a script?

2006-08-13 20:13:16 · 5 answers · asked by lronmann 1 in Computers & Internet Programming & Design

5 answers

This company will put a search engine on your site for free. Periodically they also spider your site for new material. I use their service on my site and it works great. ==>http://sitelevel.whatuseek.com/?synd=box&chan=4

2006-08-13 20:22:01 · answer #1 · answered by Chug-a-Lug 7 · 0 0

There are two ways to attack this problem. One is to use an API to an existing search engine such as Yahoo! or Google:

http://developer.yahoo.com/search/
http://www.google.com/apis/

Basically, you script would collect the search terms submitted by the user, add an instruction to limit the search to your site, pass it on to the target search engine, retrieve results and display them.

Yahoo! API is probably a little easier to implement in PHP, since you can choose to receive search results as serialized PHP data (other options are XML and JSON). Google API only has one option, XML.

The alternative is more complicated. You need to deploy a full-blown search engine of your own, complete with a crawler and a database for storing results. Here are a couple of examples of those:

http://www.mnogosearch.org/
http://www.phpdig.net/

.

2006-08-16 06:14:23 · answer #2 · answered by NC 7 · 0 0

php code MUST reside inside of a file called .php. The php extenstion forces the server to call internal pre processor engine. Ordinary webserver's have no idea what php is.

2016-03-27 00:57:07 · answer #3 · answered by Anonymous · 0 0

You can easily incorporate Google search in your site to search only your domain. Or if you need a standalone PHP search engine use PHP Dig from www.phpdig.net , It requires MySQL.

Loren Soth

2006-08-13 22:26:59 · answer #4 · answered by Lord Soth 3 · 0 0

You can enjoy from this site for free source code
check this link:
https://sourceforge.net/projects/findx32

2006-08-13 20:30:56 · answer #5 · answered by Koorosh 2 · 0 0

fedest.com, questions and answers