...

View Full Version : DNS Server Lookup



knightcon
08-17-2007, 07:02 AM
I am running PHP5 and am wanting to use the dns_get_record() function. Unfortunately I keep on getting the following error...


Fatal error: Call to undefined function dns_get_record() in E:/app/test.php on line 2

I have PHP 5 installed through the WAMP project. Does anyone know what extension I have to activate to use DNS functions or why it's not working for me.

Thanks

CFMaBiSmAd
08-17-2007, 07:10 AM
From the php manual -

Note: This function is not implemented on Windows platforms, nor does it (currently) work on *BSD systems.

firepages
08-17-2007, 03:54 PM
you could grab the win32 version of dig (http://members.shaw.ca/nicholas.fong/dig/) and exec() it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum