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:
OK, so HostGator for some reason no longer allows gcc/g++ access unless you have a Designated Server account, which is a lot of money to spend just to compile my "Hello World" program. Thus I figured I'd compile at home, then upload. Program is your regular old bare-bones Hello World ...
I'm having a small problem. I am unable to get the size of an uploaded file from the server to run a max size check. When I use the following command as specified in any example of file upload I can find on the web: