|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-07-12 19:17 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 14:00:01 2025 UTC |
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