How do I search form elements for , <SCRIPT> tags.
I want to search form data for these tags and return true if they contain <SCRIPT> tags.
any ideas
assuming you using the POST form method:
<? foreach ($_POST as $key => $value) { if (stristr ($value, '<SCRIPT>')) { echo '<SCRIPT> was found in the form element ' . $key . '<br>'; } } ?>