On 9/5/05, Aram Yegenian <[EMAIL PROTECTED]> wrote:
> here's an idea, i haven't tried it though:
> 
> $email = '[EMAIL PROTECTED]';
> $domain = substr(strstr($email, '@'),1);
> $ip = gethostbyname($domain);
> echo (($ip == $domain) ? "Domain does not exist" :
> "Bingo!");
> 

a better way for it would be getmxrr, instead of gethostbyname.
-- 
                                 Ala'a A. Ibrahim
http://360.yahoo.com/bai_83

_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org

Reply via email to