You are here: Re: dns_get_mx not working « PHP Language « IT news, forums, messages
Re: dns_get_mx not working

Posted by peter on 03/29/07 16:44

> I tried the following code:
>
> //check the email address exists
> $sender_email = explode('@', $sender_email);
> $emailhost = $sender_email[1];
> if (!dns_get_mx($emailhost, $mxhostsarr))
> {
> echo 'Email address is not a valid host';
> exit;
> }
>
> But it generates a fatal error on the hosting server, probably because PHP
> is running under Windows and this function is not implemented in Windows.
> I read I should use the PEAR::Net_DNS package but do not know how to use
> it in my case. Could you please help me?
>

The following page should give you an indication on how to use it
http://viebrock.ca/code/2/porting-netdig-to-netdns

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация