13 Years
Discussion Span
Last Post by vishalldce

depending on how big your site is, you can use Google API and put there search engine right into your homepage for free! You would be limited to 1,000 queries via this method,

or you can link to google directly via a form box

<form method="get" action="http://www.google.com/search">
	<input type="text" name="q" value="">
	<input type="hidden" name="as_sitesearch" value="www.daniweb.com">
	<input type="submit" value="Google Search">

just make sure to replace www.daniweb.com with your domain name, but there are drawbacks, once the user clicks search, they have left your webpage and then can modify the search and remove your site name, so now they are searching the web and not your site.

if your site isn't too big I would definatly recommend working with the google api to search your site, send me a private message if you need help setting up a search with the google api and I will be glad to help.


I tried google many times and discarded it finally because didn't find things that I KNEW were on my site. I found this new search site engine though that I really like. http://www.sitelevel.com/ It allows you to make the search box fully customized and offers several different premade codes to start from with clickable options for your customization if you need them. I highly recommend this non-google search engine.

Warning though. . . it you put this on a message board, it will access "private" or admin posts as well. :cheesy:


If you are searching for a seach engine portal where the result shown is base on google server database, i have one in hand.


i want a source code in my site for using google api. i want to implement the same functinality that google adwords gives us.

can you help me?

IF you can help me then please send me an email on <snipped>

Vishal Desai

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.