PHP
Foreach ($ _GET AS $ SECVALUE) {
IF ((EREGI ("<[^>] * script * /"? [^>] *> ", $ secValue)) ||
(EREGI ("<[^>] * Object * /"? [^>] *>, $ secValue)) ||
(EREGI ("<[^>] * iframe * /"? [^>] *> ", $ secValue)) ||
(EREGI ("<[^>] * applet * /"? [^>] *> ", $ secValue)) ||
(EREGI ("<[^>] * meta * /"? [^>] *> ", $ secValue)) ||
(EREGI ("<[^>] * style * /"? [^>] *>, $ secValue)) ||
(EREGI ("<[^>] * form * /"? [^>] *> ", $ secValue)) ||
(EREGI ("/ ([^>] * /"? [^)] * /) ", $ secValue)) ||
(EREGI ("/", $ secValue)))
die ( "
The html tags you attempted to use are not allowed b>
[ "(B & B);");
}
}
Foreach ($ _POST AS $ SECVALUE) {
IF ((EREGI ("<[^>] script * /"? [^>] *> ", $ secValue)) || (EREGI (" <[^>] style * / "? [^>] *> ", $ secValue)))))
die ( "
The html tags you attempted to use are not allowed b>
[ "(B & B);");
}
}
?>