stalemate
202.***.***.***
PHP for search engines
I wanna know is PHP help for inserting search engines like google and yahoo in the site. As we all know how important search engines to b inserted in the sites.
penguinmama
12.***.***.***
Search engines are useful, but not essential. However, most of the search engines offer free HTML snippets to use to insert them into your site.
I'm guessing you are asking for on-site searching.
If you go to for example hotscripts.com you can find site search scripts that range from rudimentary flatfile searching to industrial strength solutions for large projects. Most are free and very easy to install.
Though not really in the PHP realm, you can do as Penguinmama suggests and just snatch an appropriate HTML snippet. The result queries of most of the big search engines can be manipulated to only show results from a particular domain, - say yours (so you have a fairly workable third party on-site search).
I attempted something like this a couple of months ago. I was working on a personalized web page for myself, which included content from several of the major search engines. In theory, the ability to do so exists. However, I'd have to say that at this point, the HTML snippets available from the companies themselves is the best way to go about it.
However, PHP is useful in this case. Say you want to include an Altavista search engine in the header of your site, on all pages. You could create a simple header file, and use one simple include on all other pages. Abstraction is a wonderful thing.
For such on site search engines, you will simply need to visit your Google Adsense account and take a snippet from there. They do not actually use PHP! ;)