Jump to content

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.

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.