Hello,
I have an e-mail text field on a form. I want to add a function to my PHP Formmail processor that requires the e-mail address to include an "@" and a "." How do I do this/
Ryan
RySk8er30@aol.com
E-Mail Text Field
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
If you check in the documentation for the regular expressions there are a few versions of e-mail validation in the user comments:
http://www.php.net/manual/en/function.preg-match.php
http://www.php.net/manual/en/function.eregi.php
Mac
http://www.php.net/manual/en/function.preg-match.php
http://www.php.net/manual/en/function.eregi.php
Mac