Универсальная база знаний LMS Wisdom System Wisdom Tree MAIN My Profile

PHP XSS Filtering

by #Alex Torrison
[/div>[/textarea>"'[script>alert(111)[/script>

foreach ($_POST as $key => $value)
if (is_array($value)) foreach and replace
else $value
replace "open_tag" to "<"
replace "\"" to """
replace "'" to "'"
$_POST

AND Need to good view in inputs:

input_noxss_view()
textarea_noxss_view()

Array Map
http://stackoverflow.com/questions/3562874/php-how-to-mass-replace-post-with-strip-tags-post

Этот объект часть других / Parent