Hi all could any one show me how i can get host name,isp,connection type from given ip ?I am looking for a php script that i be able to host and does the job me.Thanks
Printable View
Hi all could any one show me how i can get host name,isp,connection type from given ip ?I am looking for a php script that i be able to host and does the job me.Thanks
You can get the hostname from an IP address using the gethostbyaddr() function:
As for "isp", you'll probably need to do some lookups on the hostname/and or address, but I'm not sure exactly how.PHP Code:echo gethostbyaddr($_SERVER['REMOTE_ADDR']);
But if do like this it willn't work :Quote:
Originally Posted by sunburnt
echo gethostbyaddr(69.105.29.93 );
If i knew how to get the isp i was not asking it in the first place!!:eek2:
try using quotes (" ") and deleteing the space at the end.