Re: [PHP] How to resolve IP with PHP

2002-01-21 Thread gaouzief
hi, 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 regards 21/01/2002 08:20:48, Police Trainee [EMAIL PROTECTED] wrote:

[PHP] How to resolve IP with PHP

2002-01-20 Thread Police Trainee
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 so much! -mark

Re: [PHP] How to resolve IP with PHP

2002-01-20 Thread Austin Gonyou
Did you look at the function list to see if gethostbyname() or something similar exists? On Mon, 2002-01-21 at 01:20, Police Trainee 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