I have a guest book on my website, and visitors can insert HTML codes inside the text box. Now the problem is that nobody leave comments about my site, all are introduction and links of other websites. The url is here: www.hkhangfong.com/guestbook.htm . So now I want to disable the function of inputting html code there. I'm very curious that I ask visitors to go and submit at my auto approval link directory, but looks like nobody goes there and still get huge fill in there per day, even more than the submission to my directory.
to do this client side would require javascript and therefore is easily by-passed (if someone wanted to) i deal with this type of issue on the server side. In the (in my case) perl script that processes the form input I search for html tags and keywords (http, ://, etc) and send back a polite refusal and dump the form contents. -Greg