Sorry about that last E-mail! Here is what I meant:
if (preg_match ("/(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/", $emailaddress) ||
preg_match
("/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/",$emailaddr
ess))
{
print "That is a valid e-mail.BR\n";
}
else
{
print "Not a
Or ,as has been mentioned before, use the Manuel Lemos email validation
class which will attempt to verify that the address can recieve mail.
- Original Message -
From: "Don" [EMAIL PROTECTED]
To: "php list" [EMAIL PROTECTED]
Sent: Friday, February 16, 2001 9:50 AM
Subject: [PHP]
2 matches
Mail list logo