PHP 4.0 Bug #5311 Updated: Checkdnsrr
| From: | Bug Database | Date: | Sat, 12 Aug 2000 17:50:49 +0000 |
| Subject: | PHP 4.0 Bug #5311 Updated: Checkdnsrr | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28705@lists.php.net to get a copy of this message | ||
ID: 5311
Updated by: waldschrott
Reported By: steve@tradinglinx.com
Status: Analyzed
Bug Type: Other
Assigned To:
Comments:
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]." ");
}
?>
Full Bug description available at: http://bugs.php.net/?id=5311