Re: email validation string.
| From: | Roman Neuhauser | Date: | Fri, 19 Jan 2007 00:32:45 +0000 |
| Subject: | Re: email validation string. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247370@lists.php.net to get a copy of this message | ||
# nick@stinemates.org / 2007-01-18 06:07:24 -0800:
> I just got this from: http://php.net/preg_match
>
> <?php
> if(eregi ("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,6}$",
> stripslashes(trim($someVar))))
That would reject many of my email addresses. This is more in line with
the standards:
http://marc.theaimsgroup.com/?l=postgresql-general&m=112612299412819&w=2
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991