Process MaxMind Countries, Regions and Cities Files: Extract MaxMind geographic data into a database

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 420 All time: 6,321 This week: 388Up
Version License PHP version Categories
processcities 1.0GNU Lesser Genera...4.0Databases, Geography
Description Author

This class can extract MaxMind geographic data into a database.

It can connect to a SQLite or MySQL database and create tables to store information of countries, regions and cities.

The class can read geographic data files from MaxMind and import the data into the created tables for use of applications that need to lookup the imported data.


Get a country from an ip address
I need to get the country of an ip address

Picture of Aziz S. Hussain
  Performance   Level  
Name: Aziz S. Hussain <contact>
Classes: 8 packages by
Country: United States United States
Age: 38
All time rank: 51162 in United States United States
Week rank: 655 Down71 in United States United States Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file processCities.php Class Main class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,321
This week:388Up

For more information send a message to info at phpclasses dot org.