I am a webmaster for a site. I have been trying to get my site's
search to be able to search through my own site and also on google by using radio button to make the choice. Is there a way to do that? can someone help me with a script? or something. Just like the way they have a search on this [Daniweb] and we are able to search the entire site. :lol:

Thank you in advance.

Recommended Answers

All 5 Replies

Well, in order to do a Google search of your site, all of the pages of your site need to be well indexed in Google. DaniWeb's site specific search was done by using the Google API with the PHP language.

For more information, http://www.google.com/apis/

Thanks for ur quick reply. Checking for that.

I have checked it. But is that the only way i can do this?

If you have a Google AdSense account, you can use SiteSearch.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.