Welcome to WebmasterWorld Guest from

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
votes: 0

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

Junior Member

10+ Year Member

joined:June 26, 2008
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!