Jump to content

IP Address


freakedout

Recommended Posts

I just did a google search and this site looks quite interesting:

 

http://www.hostip.info/use.html

 

You could use this method:

 

http://api.hostip.info/get_html.php?ip=12.215.42.19

 

Which outputs the Country to the browser (I haven't tested it with another IP yet) so you get use file_get_contents() and read the first line :)

Link to comment
https://forums.phpfreaks.com/topic/91053-ip-address/#findComment-466667
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.