![]() |
|
sfDoctrineIpGeolocPlugin - 0.1.2Lookup a country code from an IP address from your own database. |
|
![]() |
7
users
Sign-in
to change your status |
Lookup a country code from an IP address from your own database |
The plugin lets you lookup country codes from IP addresses. It is a combination of sfIpGeolocHelperPlugin (http://www.symfony-project.org/plugins/sfIpGeolocHelperPlugin) and the old sfIp2Country plugin (http://trac.symfony-project.org/wiki/sfIp2Country).
It looks up the IP's country from your database rather than by contacting another server.
It's also using Doctrine.
It doesn't do anything very clever, just provides you with a two letter country code. The rest is up to you :)
| Name | Status | |
|---|---|---|
|
|
lead |
Copyright (c) 2009 Ross Motley
Most code taken from the plugins by Fourat Zouari <fourat[at]gmail[dot]com> and Cédric Lombardot, SPYRIT SYSTEMES D'INFORMATION
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.