HTML Escape Characters
I have some registration forms in my web site, I wan to prevent user from entering HTML tags in input text fields and textareas (actually HTML injection), In fact I want to display the entered info in a way that entered HTML tags don't affect on the appearance of the web site and the actual tags be displayed on the page. I know that the solution is replacing the critical characters in the entered text with their corresponding Escape codes, But is there any class or method which does this for me?
I know there are such functions in Perl and PHP.
Regards
http://behravesh.ws
Message was edited by:
Ehsun

