View Single Post
04-12-2008, 06:42 PM
Join Date: Dec 2007
Regular expressions are the way to go in my opinion. You have full control over what *exactly* you want to allow and what not. Moreover, I once benchmarked my email regex against filter_var and the last one was slower.
See Kohana source for email regex. It is in valid::email().
Comparing E-mail Address Validating Regular Expressions
- PHP5 framework
Last edited by Geert : 04-12-2008 at
. Reason: Added link
View Public Profile
Send a private message to Geert
Visit Geert's homepage!
Find More Posts by Geert