Re: eregi(mail)
| From: | Miguel Cruz | Date: | Fri, 10 May 2002 18:30:12 +0000 |
| Subject: | Re: eregi(mail) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96979@lists.php.net to get a copy of this message | ||
On Fri, 10 May 2002, Kevin Stone wrote:
> I had always been suspicious about email validators so I did a big long
> search on Google about standard address formats. It turns out that aside
> from the @ symbol emails have no standard format whatsoever. So ereg('@',
> $email) is really the only functional email validator.
There is a format. See:
http://www.merit.edu/internet/documents/rfc/rfc0822.txt
miguel