- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
foreach ($_POST as $k=>$v)
if (!is_array($v))
$_POST[$k] = htmlspecialchars($v);
else
foreach ($v as $kk=>$vv)
if (!is_array($vv))
$_POST[$k][$kk] = htmlspecialchars($vv);
else
foreach ($vv as $kkk=>$vvv)
if (!is_array($vvv))
$_POST[$k][$kk][$kkk] = htmlspecialchars($vvv);