MyBB Community Forums
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> What functions to remove HTML from inputs!?
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.
RyanDiamond
2014-07-31, 02:42 PM
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!
dragonexpert
2014-07-31, 03:02 PM
Use htmlspecialchars_uni function.
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> What functions to remove HTML from inputs!?