could you ping or gethostip that webserver using the sytem command, then parse what you recieve?
$val = system ('ping -c 1 outherwebserver'); or $val = system ('gethostip outherwebserver'); //then parse $val to pull out the ip address there is probably a better way to do it though, not even sure it if that will work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php