Jump to content

undefined function checkdnsrr()


Recommended Posts

I am running WAMP on windows 7 and PHP 5.3.1 and I am getting this error:

 

Fatal error: Call to undefined function checkdnsrr() in C:\wamp\www\xhtml-css\includes\form_functions.php on line 80

 

According to the research I did checkdnsrr() was available on the Windows platform at 5.3 so why am I getting this?

 

Here is where I make the call:

if ($isValid && !(checkdnsrr($domain,"MX") || checkdnsrr($domain,"A")))   

 

Any ideas?

 

Link to comment
https://forums.phpfreaks.com/topic/207740-undefined-function-checkdnsrr/
Share on other sites

It is saying: 5.2.13 if I run it from my PHPEd IDE, which opens

 

http://localhost:8080/file:/C:/wamp/www/xhtml-css/contact-us.php

 

but if I type in http://localhost/xhtml-css/contact-us.php it says 5.3.1.

 

Apparently I have something configured wrong.  Is there a place we can move this so I can have someone help me understand what I am doing wrong?

 

Thanks!

It is saying: 5.2.13 if I run it from my PHPEd IDE, which opens

 

http://localhost:8080/file:/C:/wamp/www/xhtml-css/contact-us.php

 

but if I type in http://localhost/xhtml-css/contact-us.php it says 5.3.1.

 

Apparently I have something configured wrong.  Is there a place we can move this so I can have someone help me understand what I am doing wrong?

 

Thanks!

 

PHPEd is using it's own PHP install, so you need to find out how to upgrade that or how to have it use your installation.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.