Hello,

Sharat Hegde wrote:
> 
> 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?

This PHP class does all you need:

http://phpclasses.UpperDesign.com/browse.html/package/13

Manuel Lemos

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to