Validation Email in PHP programs
| From: | Sharat Hegde | Date: | Tue, 03 Apr 2001 08:25:19 +0000 |
| Subject: | Validation Email in PHP programs | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46785@lists.php.net to get a copy of this message | ||
Hello,
I am trying to validate the email address in my PHP program using the ereg
function. I have different combinations of regular expressions to get the
chunks of the email substring before and after the @ symbol and the dot (.)
character. However, this does not seem to work.
Can anyone suggest a method using ereg or otherwise to validate the email
address in a PHP program?
Regards,
Sharat Hegde