php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38084 why the 'checkdnsrr()' function is not implemented in windows.
Submitted: 2006-07-12 19:01 UTC Modified: 2006-07-12 19:17 UTC
From: usalabs6131 at gmail dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.4.2 OS: windows xp pro
Private report: No CVE-ID: None
 [2006-07-12 19:01 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-12 19:17 UTC] tony2001@php.net
We'll gladly accept your patches.
Until then -> bogus, since this is clearly not a bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 11:01:30 2024 UTC