MyBB Community Forums

Full Version: What functions to remove HTML from inputs!?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using mybb externally using an integrator and to sanatize inputs I use $db->escape_string.. but this doesn't stop HTML injection... I tried to use strip_tags but when I went to post in forum it completely broke my site!
Use htmlspecialchars_uni function.