I'm trying to filter out certian characters (like back-ticks, dollar signs, and signs, percent, etc.) from a sign up page.
Is there a function that works kind of like strstr where I could check to see if any variable in an array matches a regular string?
if (strstr($string,$array)) {...};
I realize I could just use lots of strstr($string,"X") || strstr($string,"Y"), but I would prefer the array. Just a little easier.
Thanks in advance.