Hello, i use geoIP to find location of visitors but seems like theyr database dont support all Citys/Regions

well, im looking for a free-good ip to country provider,

This is my website: http://dotest.webege.com/
Now i add geoIP script , so many IP's just are setet in NULL

have you seen This ? Hold on, free is with limited features though....

This code should be able to do it

<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script>

<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_latitude());</script>
<br/>Longitude:
<script language="JavaScript">document.write(geoip_longitude());</script>
<br/>Postal Code:
<script language="JavaScript">document.write(geoip_postal_code());</script>

Thank you, but also this provider have low accuracy about City/Region.

Anyway, i searched enought for free providers but nothing, i will keep hostip because is simple in use

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.