Welcome to WebmasterWorld Guest from 18.204.48.199

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

IP address to company/country lookup

     
4:59 pm on Feb 23, 2016 (gmt 0)

New User

joined:Feb 23, 2016
posts:1
votes: 0


Hi,
Would anyone here be interested in helping maintain some PHP code
that converts IP address to company and country?
Cheers
2:42 pm on Apr 28, 2016 (gmt 0)

Junior Member

10+ Year Member

joined:June 26, 2008
posts:178
votes: 0


Hello, welcome to WebmasterWorld!

Regarding the country part, I've done this using a script that I found over on [chir.ag...]

It's really very simple to use:
- Include the main ip_to_location.php file
- Pass the IP address into the ip_to_location($ip) function and it will spit out a GEO code, like GB, IE, FR, ES.

Jobs a good 'un!

Tom.