Web Hosting Talk







View Full Version : php find country for IP script


OnlineRack
11-25-2006, 01:24 AM
Is there a way to find what country this ip is from (in php script) if too long of a script, is there one that is ready so I can look at :)

IR5
11-25-2006, 06:07 AM
you can use maxmind geoip.
www.maxmind.com

OnlineRack
11-29-2006, 12:12 AM
nothing free :(

01globalnet
11-29-2006, 10:49 AM
Maxmind provides a free database for you to look and even download in your server!

Xeentech
11-29-2006, 01:30 PM
maxmind.com's GeoIP is free, just they also have a payversion that is updated much more offten and has better detail. Fair enough, if its not too important the free version is enough. The free version knows I'm in the northeast of England, do you need more detail?

rajuchandran
12-10-2006, 11:06 AM
hello,

try this one

//------------------------------------------------------------------------------------//
<script language="Javascript" src="http://gd.geobytes.com/gd?after=-1&variables=GeobytesCountry,GeobytesCity">
</script>
<script language="Javascript">
document.write("<p>Welcome to visitors from "+sGeobytesCity+", "+sGeobytesCountry);
</script>
//------------------------------------------------------------------------------------//

azizny
12-10-2006, 11:28 AM
http://www.free-php-scripts.net/P/Geo_IP

Peace,

juangake
12-11-2006, 08:07 AM
I like (and use) this freebie one
http://ip-to-country.webhosting.info/