n they will require being inside quotation marks), and
> the @ symbol is included in that!
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
> - Reply message -
> From: "Alejandro Michelin Salomon"
> Date: Fri, Jan 21, 2011 12:14
> Subject: RES:
ed in that!
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: "Alejandro Michelin Salomon"
Date: Fri, Jan 21, 2011 12:14
Subject: RES: [PHP] email address syntax checker
To: "'Donovan Brooke'"
Cc:
Donovan:
Try this
function EmailC
Donovan:
Try this
function EmailCheck ( $sEmail )
{
$regexp="/^[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z
]{2,}$/i";
if ( !preg_match($regexp, $sEmail) )
return false;
return true;
}
Alejandro M.S.
-Mensagem original-
De: Donovan Brooke [ma
3 matches
Mail list logo