I want to be able to filter out any url in any of form $_POST vars? Would I do it with a foreach loop and the preg replace function?
I would consider any web address in my form spam. I would like to filter it out..
I'm already using
Strip tags, htmlentities, strip_tags, stripslashes & mysql_real_escape_string but they don't seem to filter out URLs..
Thanks for your help in advanced..