Now to the point:
This is probably a real rookie-question, i know.
I have a piece of PHP-code (mail-form) and i want to exclude some characters from being entered (aka "header-injection").
Now i found all characters not-available for mail-addresses and i put those in an array (For example [, ] and \).
I know how to search a variable for a certain string (strstr or stristr).
But is it possible to search for all entered string in an array?
Something like: stristr_fromArray ($var, $array){ Do something }
I hope you can help!