How to get IP and country name of client side

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
waseem83
Forum Commoner
Posts: 54
Joined: Tue Jun 23, 2009 3:51 am
Contact:

How to get IP and country name of client side

Post by waseem83 »

Can any body tell me how to find IP and location of client side computer through PHP code. Is there any free source code for it?

Thanx in advance
Griven
Forum Contributor
Posts: 165
Joined: Sat May 09, 2009 8:23 pm

Re: How to get IP and country name of client side

Post by Griven »

User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: How to get IP and country name of client side

Post by requinix »

The IP address is easy but for the country you'll need something else.

MaxMind, what Griven linked, is a popular option.
Post Reply