note 75662 added to ref.geoip
| From: | php dot comment dot addition at gmail dot com | Date: | Mon, 11 Jun 2007 03:57:28 +0000 |
| Subject: | note 75662 added to ref.geoip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127375@lists.php.net to get a copy of this message | ||
Just to clarify the other comments, the maxmind post seems to be out of date / incorrect.
This module fails to work (ie: resolve cities) with the GeoLite City database from here:
http://www.maxmind.com/app/geolitecity
The error occurs when calling the function geoip_record_by_name(), which states incorrectly that the
required database is not available. I have tested it with the very latest database, for which
geoip_database_info() returns the version:
GEO-533LITE 20070601 Build 1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
It does, however, resolve countries OK via the GeoLite Country database, which you can grab here: http://www.maxmind.com/app/geoip_country
I tested with the version:
GEO-106FREE 20070601 Build 1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
----
Server IP: 69.147.83.197
Probable Submitter: 211.30.222.253
----
Manual Page -- http://www.php.net/manual/en/ref.geoip.php
Edit -- https://master.php.net/note/edit/75662
Del: integrated -- https://master.php.net/note/delete/75662/integrated
Del: useless -- https://master.php.net/note/delete/75662/useless
Del: bad code -- https://master.php.net/note/delete/75662/bad+code
Del: spam -- https://master.php.net/note/delete/75662/spam
Del: non-english -- https://master.php.net/note/delete/75662/non-english
Del: in docs -- https://master.php.net/note/delete/75662/in+docs
Del: other reasons-- https://master.php.net/note/delete/75662
Reject -- https://master.php.net/note/reject/75662
Search -- https://master.php.net/manage/user-notes.php