Whats the best way to validate email address (check for white space, check for .com, .net.edu etc)
Just check for some text with a single @ in the middle. Honestly... If you're relying on the email any more than that, I'd have to wonder why.
The only way to truly validate an email address is to send an email to it with a code (or webbug) validating the user (or bot) actually received the email.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php