Page 1 of 1
How we can find the user where he/she comes
Posted: Tue Jul 02, 2002 9:50 am
by nonstop
I want to know the user where they stay (country). Like in the
http://www.phpclasses.org.
Could u help me?
Posted: Tue Jul 02, 2002 10:41 am
by llimllib
As far as I can see, phpclasses.org doesn't get where their users are staying, it just asks them. Now, if you want an *idea* of where your users live, what you could do is write a curl script to download information from
http://www.networldmap.com/TryIt.htm?GetLocation, and then parse the response, but IP addresses are not exact indicators of someone's location.
Posted: Fri Jul 05, 2002 9:53 am
by kilren
this system doesn't work
I try it with my own IP
it reply that I was in Kansas USA instead of Aix en Provence FRANCE
anyway it does working with 2 third of the IP I tried
Posted: Fri Jul 05, 2002 2:24 pm
by mikeq
kilren wrote:it does working with 2 third of the IP I tried
Okay, but unless it works 100% of the time there is no point in using it.