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: