[Phpwm] Simple PHP Contact Form

David Goodwin david at codepoets.co.uk
Wed Oct 14 12:42:07 UTC 2009


> Would I be better off swapping the regular expression for this:
> filter_var($email, FILTER_VALIDATE_EMAIL)
> If so should what would then be the best method to get the host name
> for the dns check, or is the dns check overkill?

I think the filter VALIDATE_EMAIL thing has an option which will make
it do a NS lookup too..

David.
-- 
David Goodwin 

[ david at codepoets dot co dot uk ]
[ http://www.codepoets.co.uk       ]



More information about the Phpwm mailing list