ID: 5311
Comment by: php at hm2k dot org
Reported By: steve at tradinglinx dot com
Status: To be documented
Bug Type: Feature/Change Request
Operating System: W2000
PHP Version: 4.0.1
New Comment:
I love the fact that I was just writing about this as it was updated:
http://www.hm2k.com/posts/php-getmxrr-support-for-windows
*grin*
Previous Comments:
------------------------------------------------------------------------
[2009-01-06 21:50:30] pajoye@php.net
> tbd
------------------------------------------------------------------------
[2009-01-06 20:52:36] pajoye@php.net
As a new year present, all DNS functions are now available on windows,
5.3 and 6 (head).
Waiting my extra slice of cakes.
------------------------------------------------------------------------
[2003-01-28 18:28:49] pollita@php.net
Windows users can get this functionality from the PEAR class Net_DNS.
http://pear.php.net/net_dns
------------------------------------------------------------------------
[2001-02-24 13:47:02] jmoore@php.net
Both of these are #Defined out in the source code.. someone needs too
look for a win32 implmentation of these at some point (dns.c:170 #if
HAVE_BINDLIB && !(defined(__BEOS__)||defined(PHP_WIN32))).
Changing to Feature Change Request.
------------------------------------------------------------------------
[2000-08-12 13:50:49] waldschrott@php.net
user comment:
Neither checkdnsrr nor getmxrr appear work under Windows NT
4/SP6a with IIS
4.
I'm running with the downloaded Windows binary 4.0.1pl2 and
the provided
.ini file. OS is NT 4.0/sp6a, IIS 4.
Under Windows, checkdnsrr always returns "true" (no matter
whether the
provided domain name could even possibly be valid) and
getmxrr returns 0
hosts.
(append ?domain=domaintotest.com to the URL when calling
this script)
<?
echo("<p>checkdnsrr:
".(checkdnsrr($domain,"MX")?"true":"false"));
getmxrr($domain,$mxhosts);
echo("<p>getmxrr: [".count($mxhosts)."] ");
for ( $i = 0; $i < count ( $mxhosts ); $i++ ) {
echo($mxhosts[$i]." ");
}
?>
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/5311--
Edit this bug report at http://bugs.php.net/?id=5311&edit=1