My page is supposed to compare the client IP address to the IP address of an other webserver. I have that domain name and would like to find out it's IP address. Unfortunately its IP address changes regularly (dynamic dns) so that gethostbyname() does not work (it caches the IP address). I am working on PHP4 and can't patch / update / anything the system. I couldn't even tell you what exact version and plugins, etc is running on that web server I am working on.
Any more info needed to answer this question? Feel free to ask... Thanks for all help in advance Tobes "Chris W. Parker" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Tobes <mailto:[EMAIL PROTECTED]> on Monday, May 24, 2004 2:09 PM said: > 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. are you saying you already have the FQDN (Fully Qualified Domain Name)? or are you trying to get the ip address of the client system requesting your page? chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php