Setting up the geotargeting database

I have joined Google and none of the tools on eKstreme.com are official Google tools nor are they endorsed by Google. See this.

Requirements

Geo IP database: setup

The first thing you need is a database of world wide IP addresses. A freely available one is MaxMind's GeoLite Country Database. Download the CSV version, not the binary format version.

A note about the database:

Once you download the IP database in CSV format, you need to upload it into your MySQL database. Here are the instructions:

Now that we have the IP database ready, let's use it!

Next page: Geotargeting PHP code.