Re: QuickForm - E-Mail validation with checkdnsrr() - subdomains
| From: | Markus Ernst | Date: | Thu, 11 Feb 2010 09:02:30 +0000 |
| Subject: | Re: QuickForm - E-Mail validation with checkdnsrr() - subdomains | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30276@lists.php.net to get a copy of this message | ||
James Collins schrieb:
Hi Markus, Which operating system are you running your PHP code from? According to http://php.net/manual/en/function.checkdnsrr.php, the function might not exist if you're using Windows. I do not have any specific experience with the checkEmail() or checkdnsrr() functions, but I have successfully used PEAR's NET_DNS package ( http://pear.php.net/package/Net_DNS) for querying DNS records on both windows and linux servers.No, it is on a Linux system; the function usually returns correct results, also for addresses on a sub domain. I have been using it for years, and the problem only occurs with this special address. That makes me think it is due to a quite special configuration of the systems this address points to.