Re: email address syntax checker
| From: | Donovan Brooke | Date: | Thu, 20 Jan 2011 17:49:47 +0000 |
| Subject: | Re: email address syntax checker | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310905@lists.php.net to get a copy of this message | ||
Peter Lind wrote:
[snip]
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {thanks peter... wish I would have known about filter_var before writing the other checkers. ;-) Donovan -- D Brookeecho "Bad user! Bad user!";} Regards Peter