foreach ($_REQUEST as $key => $value) { $_REQUEST[$key] = htmlspecialchars_uni($value); // htmlspecialchars() for non-vB pages }