Click to See Complete Forum and Search --> : checkdnsrr() at risk


jeny
06-20-2006, 06:39 AM
hi all,
i am using php 5, apache 2, and mysql as back end.
php function checkdnsrr() and dns_get_record() is not supported by my machine... it saya the error as follows...

Fatal error: Call to undefined function checkdnsrr() in C:\wamp\www\test1.php on line 6

Fatal error: Call to undefined function dns_get_record() in C:\wamp\www\test1.php on line 7
acn anybody please help what should i do to run this function.

thanks in advance...
jeny

bathurst_guy
06-20-2006, 06:42 AM
Note: This function is not implemented on Windows platforms. Try the PEAR class Net_DNS.Are you running windows?

jeny
06-20-2006, 07:03 AM
yes i am using windows XP

NogDog
06-20-2006, 08:14 AM
From http://www.php.net/checkdnsrr : "Note: This function is not implemented on Windows platforms. Try the PEAR class Net_DNS."