#38084 [NEW]: why the 'checkdnsrr()' function is not implemented in windows.
| From: | usalabs6131 at gmail dot com | Date: | Wed, 12 Jul 2006 19:01:59 +0000 |
| Subject: | #38084 [NEW]: why the 'checkdnsrr()' function is not implemented in windows. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-99352@lists.php.net to get a copy of this message | ||
From: usalabs6131 at gmail dot com
Operating system: windows xp pro
PHP version: 4.4.2
PHP Bug Type: PHP options/info functions
Bug description: why the 'checkdnsrr()' function is not implemented in windows.
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 bug report at http://bugs.php.net/?id=38084&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38084&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38084&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38084&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38084&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38084&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38084&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38084&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38084&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38084&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38084&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38084&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38084&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38084&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38084&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38084&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38084&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38084&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38084&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38084&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38084&r=mysqlcfg