If you want a secure method, and your host supports it, use CGI scripts instead. It's more secure than
JS, and some
JS can be bypass simply by disabling it in the browser.
Here are some sites for obtaining CGI scripts:
http://www.hotscripts.com/ http://www.cgi-resources.com/ http://www.perlarchive.com/