> hi, i need some code to find out the ip address of a server. > just a simple dns query. > > how do i do that? i'm a beginner, please help.
$ip = gethostbyname( "www.php.net" ); http://www.php.net/manual/en/function.gethostbyname.php --Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php