Quick note: The PEAR Validate package does this for you. It also checks
for an alternate A record.
Terence wrote:
You could use MX records if you wanted to. I found this some time ago...
function checkEmail($Email) {
//Do the basic Reg Exp Matching for simple validation
if (eregi("[EMAIL
You could use MX records if you wanted to. I found this some time ago...
function checkEmail($Email) {
//Do the basic Reg Exp Matching for simple validation
if (eregi("[EMAIL PROTECTED]", $Email)) {
return FALSE;
}
//split the Email Up for Server validation
list($Username, $
On Thursday, December 4, 2003, at 01:35 PM, John W. Holmes wrote:
Blake Schroeder wrote:
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
Blake Schroeder wrote:
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
Blake --
...and then Blake Schroeder said...
%
% Whats the best way to validate email address (check for white space,
% check for .com, .net.edu etc)
1) Read this list's archives
2) STFW
3) Hand the job off to something else if at all possible
%
% -Blake
HTH & HAND
:-D
--
David T-G
On Thursday 04 December 2003 02:31, Blake Schroeder wrote:
> Whats the best way to validate email address (check for white space,
> check for .com, .net.edu etc)
google > php validate email address
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
6 matches
Mail list logo