05-27-2008, 07:33 PM
|
#3 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
if your on a linux platform you could use the checkdnsrr() function:
PHP Code:
$email = 'user@domain.com';
$domain=explode('@', $email);
if(!checkdnsrr($domain[1], 'MX')) //MX = mail exchange { return false; }
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|