Validating Email addrs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I know that it is pretty darn impossible to come up with a regular
expression for validating emails.

How do you all validated emails on form submission?

Is it good just to do something like "/.+@.+[.].+/"  ?  That (or a
close derivative) should match that there is at least a @ and a . with
chars before and after each.  I will be sending an email to each new
registration with a confirmation link.

Does that regex make about the best sense?

Thanks and 73,

--
Leonard Burton, N9URK
leonardburton@xxxxxxxxx


"The prolonged evacuation would have dramatically affected the
survivability of the occupants."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux