Home >
Questions and Answers >
General Questions
geo ip (13)
09-29-2011 04:05 AM
#1
juanjohopper (Member)
geo ip
anyone kwon were can i get geo ip or proxy for the landers , so wen the user click on my Lander they will see the name from they city ??
any suggestion appreciate =)
09-29-2011 04:32 AM
#2
heavyt (Senior Member)
http://lmgtfy.com/?q=geoip
09-29-2011 04:37 AM
#3
godspeed (Member)
Put this in <head>
<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script>
region:
<script language="JavaScript" type="text/javascript">document.write(geoip_region_name());</script>
city:
<script language="JavaScript" type="text/javascript">document.write(geoip_city());</script>
I think it was something like that 
Some people are just too lazy here, considering its a private forum.
09-29-2011 04:40 AM
#4
polarbacon (Moderator)

Originally Posted by
godspeed
Put this in <head>
<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script>
region:
<script language="JavaScript" type="text/javascript">document.write(geoip_region_name());</script>
city:
<script language="JavaScript" type="text/javascript">document.write(geoip_city());</script>
I think it was something like that

Some people are just too lazy here, considering its a private forum.
here is the full list
this goes in the head
<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script>
these go where you want to call it out...
<br>Country Code:
<script language="JavaScript">document.write(geoip_country _code());</script>
<br>Country Name:
<script language="JavaScript">document.write(geoip_country _name());</script>
<br>City:
<script language="JavaScript">document.write(geoip_city()) ;</script>
<br>Region:
<script language="JavaScript">document.write(geoip_region( ));</script>
<br>Region Name:
<script language="JavaScript">document.write(geoip_region_ name());</script>
<br>Latitude:
<script language="JavaScript">document.write(geoip_latitud e());</script>
<br>Longitude:
<script language="JavaScript">document.write(geoip_longitu de());</script>
<br>Postal Code:
<script language="JavaScript">document.write(geoip_postal_ code());</script>
09-29-2011 04:41 AM
#5
steezy (Member)
also, depending on your hosting company, they may have a version installed on your server. I'm with Beyond on VPS and while I was trying to set up this: http://ctrtard.com/code/blazing-geo-...n-your-server/ I found out they already have it. Just have to call the PHP.
I did notice that the maxmind hosted version and the self hosted versions aren't the exact same. The maxmind.com puts my actual city, self hosted puts a city ~30 miles away. Where my ISP is I guess.
09-29-2011 04:43 AM
#6
polarbacon (Moderator)

Originally Posted by
steezy
also, depending on your hosting company, they may have a version installed on your server. I'm with Beyond on VPS and while I was trying to set up this:
http://ctrtard.com/code/blazing-geo-...n-your-server/ I found out they already have it. Just have to call the PHP.
I did notice that the maxmind hosted version and the self hosted versions aren't the exact same. The maxmind.com puts my actual city, self hosted puts a city ~30 miles away. Where my ISP is I guess.
the db version is the "lite" version....
09-29-2011 01:00 PM
#7
eliquid (Member)
maxmind lite is off a lot of times.
either go maxmind paid, or buy a DB from one of the other firms.
I found that maxmind paid even is not as good as some others paid.
09-29-2011 01:08 PM
#8
bbrock32 (Administrator)
What others paid would you suggest?

Originally Posted by
eliquid
maxmind lite is off a lot of times.
either go maxmind paid, or buy a DB from one of the other firms.
I found that maxmind paid even is not as good as some others paid.
09-29-2011 01:33 PM
#9
polarbacon (Moderator)

Originally Posted by
eliquid
maxmind lite is off a lot of times.
either go maxmind paid, or buy a DB from one of the other firms.
I found that maxmind paid even is not as good as some others paid.
thing is maxmind is cheap there are others but as the saying goes....you get what you pay for....if you want to pay 1k + a month for limited # calls I will tell you exactly who to talk to.....and you will get very pinpoint stuff but is it worth it?
data like that comes at a cost...good data = $$$
09-30-2011 12:36 AM
#10
juanjohopper (Member)
thank you guys!! polarbacon 
09-30-2011 01:06 PM
#11
eliquid (Member)

Originally Posted by
bbrock32
What others paid would you suggest?

Originally Posted by
polarbacon
thing is maxmind is cheap there are others but as the saying goes....you get what you pay for....if you want to pay 1k + a month for limited # calls I will tell you exactly who to talk to.....and you will get very pinpoint stuff but is it worth it?
data like that comes at a cost...good data = $$$
Well, I can tell you this.. I am a long time user of the Maxmind paid API service. That is until our company changed ISP's and one day while browsing one of my sites that use the API I was showing up as some city located 4 states away from me. It hit me that the 95% accuracy that even Maxmind paid gave me might not be enough.
I understand that there will be some flaws, but I went that day and demo'd a bunch of known Geo Location providers and almost all of them were showing me as that city 4 states away except for a handful.
Out of that handful, I decided I didn't want to mess with API ( can cause bottleneck if slow connection to your site ) and I didn't want to mess with monthly fees either ( one reason I liked the Maxmind API ) so I went with
http://www.trackipaddresses.com and bought their CSV database and imported into MySQL.
I've only been with them for 1 month and I am suppose to get updated every month for 1 year included with my purchase ( we will find out in a few days ), but this has been more accurate so far then Maxmind for what I tested it with.
I am still going to test it out against Maxmind API, maybe Maxmind just hadn't updated yet when I found the error. Either way, I like having a 2nd source to compare data with and possible use as a backup too.
09-30-2011 01:43 PM
#12
polarbacon (Moderator)
justa fyi on http://www.trackipaddresses.com/ its shows me as living in MI which is 600 miles from where I do live....
not saying they are horrible....just saying that at first glance they are way off.......and if your paying for it.....just thought you might want to know....
10-04-2011 12:36 PM
#13
steezy (Member)
ah, that' explains why my city is off. I guess that's the version that an offer I'm pushing is using...it's off as well. I still haven't switched over to their hosted version for that reason. I guess I should do a split test to see what's better...slower Geo IP or fast, less accurate geoip
Home >
Questions and Answers >
General Questions