WorldDrknss Posted January 29, 2008 Share Posted January 29, 2008 there are many threads that dicuss htmlentities vs htmlspecialchars. I know what each one does but would like to gather some people opinions on which should used it cases. Would you prefer htmlentities vs htmlspecialchars when accepting user input such as textareas that support bbcode via javascript, or inputs in general. Would you prefer to use htmlentities vs htmlspecialchars when using fckeditor. Fckeditor is only used by administrators. My site will using a lot of input boxes for photo gallerys, blogs and much more so that is the reason why I would like to get some ideas. htmlentities/htmlspecialchars will be tied with mysql_real_escape_string along with other security checks. Quote Link to comment https://forums.phpfreaks.com/topic/88289-user-input-htmlentities-htmlspecialchars-fckeditor/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.