Project: IP number to countryThis project allows you to retrieve the country of the visitor using the IP number of the visitor. Very handy when you are developing a internationalized application. The ISO code, in lowercase, can be used to set the interface language. By passing the IP number to a function, you'll get the following information:
Techniques used: PHP5, MySQL (although any sort of database might be used). The project will become available as a symfony Plugin (Open Source). It's already made available by me in the form of a symfony snippet and can be found over here. The IP data is imported from the webnet77 database, probably the most frequently update database on the web, which is weekly downloaded using CRON to the webserver. See example below:
|
||||||||||||
| Updated at: 2008-03-14 |
|---|

Home
Top