#38084 [Opn->Bgs]: why the 'checkdnsrr()' function is not implemented in windows.
| From: | tony2001@php.net | Date: | Wed, 12 Jul 2006 19:17:04 +0000 |
| Subject: | #38084 [Opn->Bgs]: why the 'checkdnsrr()' function is not implemented in windows. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99353@lists.php.net to get a copy of this message | ||
ID: 38084
Updated by: tony2001@php.net
Reported By: usalabs6131 at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: windows xp pro
PHP Version: 4.4.2
New Comment:
We'll gladly accept your patches.
Until then -> bogus, since this is clearly not a bug.
Previous Comments:
------------------------------------------------------------------------
[2006-07-12 19:01:59] usalabs6131 at gmail dot com
Description:
------------
As the 'checkdnsrr()' function is not implemented on a windows
platform, I suggest to make it available to windows, because there are
some scripts that actually use it, such as bitweaver content manager to
validate a new registration via email.
I'm not going to use the most complicated operating system ever devised
(Linux), just to use bitweaver.
I say, if a script requires a certain function, then it should be
implemented into a windows platform for those that use windows.
Reproduce code:
---------------
elseif( $gBitSystem->isFeatureActive( 'validateUsers' ) ) {
list ( $Username, $domain ) = split ("@",$pEmail);
// That MX(mail exchanger) record exists in domain check .
// checkdnsrr function reference :
http://www.php.net/manual/en/function.checkdnsrr.php
if ( checkdnsrr ( $domain, "MX" ) ) {
if($gDebug) echo "Confirmation : MX record about {$domain}
exists.<br>";
// If MX record exists, save MX record address.
Expected result:
----------------
an implementation in windows to enable email validation
Actual result:
--------------
FATAL! call, undefined function checkdnsrr() in
d:\content\users\bituser.php line 437
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38084&edit=1