IP 2 Country

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

IP 2 Country

Post by Vegan »

Ok I have a CSV file I can get from http://www.webhosting.info, so I wanted to feed it to MySQL which I have on my Linux machine.

So anyone have some code to do this already, this way I can ask MySQL what country an IP address is and pick relevant ads.

Ideally the updates would be smart enough to merge data.

No point selling to an American something that is not intended for them.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
Post Reply