suyesh.amatya Posted July 17, 2008 Share Posted July 17, 2008 is there any way to map the IP to the corresponding domain and vice versa? I am not sure if I can do it from PHP... Link to comment https://forums.phpfreaks.com/topic/115188-corresponding-ip-to-domain-mapping/ Share on other sites More sharing options...
mmarif4u Posted July 17, 2008 Share Posted July 17, 2008 Sorry, can you explain it more. Link to comment https://forums.phpfreaks.com/topic/115188-corresponding-ip-to-domain-mapping/#findComment-592288 Share on other sites More sharing options...
suyesh.amatya Posted July 17, 2008 Author Share Posted July 17, 2008 well say if i can track the IP of incoming websites to that of mine,can i track the URL or domain of this websites as well via this IP and vice versa.. Link to comment https://forums.phpfreaks.com/topic/115188-corresponding-ip-to-domain-mapping/#findComment-592290 Share on other sites More sharing options...
mmarif4u Posted July 17, 2008 Share Posted July 17, 2008 I am not sure that i am giving you right link or not.just have a look. http://www.julian-bez.de/blog/2005/07/14/using-http_referer-in-php/ Link to comment https://forums.phpfreaks.com/topic/115188-corresponding-ip-to-domain-mapping/#findComment-592297 Share on other sites More sharing options...
unkwntech Posted July 17, 2008 Share Posted July 17, 2008 If you only have the ip address of the referring site then most likely no, because most commonly many sites will share the same IP. The best you could do would be gethostbyaddr() which will return the reverse dns record which will either point to the website or the hosting company. Link to comment https://forums.phpfreaks.com/topic/115188-corresponding-ip-to-domain-mapping/#findComment-592302 Share on other sites More sharing options...
suyesh.amatya Posted July 17, 2008 Author Share Posted July 17, 2008 thnks 4 ur suggestions Link to comment https://forums.phpfreaks.com/topic/115188-corresponding-ip-to-domain-mapping/#findComment-592309 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.