i think there is a function that does just that
look for gethostbyaddr($ip) in the documentation
beware of the implication on the ressources , this function performs a reverse dns 
lookup which can be time consuming

21/01/2002 08:20:48, Police Trainee <[EMAIL PROTECTED]> wrote:

>Hello. Can anyone tell me how to resolve an IP into a
>hostname? I've tried $REMOTE_HOST but all i get back
>from it is the ip or blank. Is there another
>environmental variable i need to use or do i have to
>do something more complicated?
>thanks sooooo much!
>Do You Yahoo!?
>Send FREE video emails in Yahoo! Mail!
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to