Bug #60562 [Sus]: Geolocation database needs update
| From: | php dot net dot domain dot bohwaz at miam dot kd2 dot org | Date: | Fri, 03 Feb 2012 03:15:10 +0000 |
| Subject: | Bug #60562 [Sus]: Geolocation database needs update | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-13009@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60562&edit=1
ID: 60562
User updated by: php dot net dot domain dot bohwaz at miam dot kd2
dot org
Reported by: php dot net dot domain dot bohwaz at miam dot kd2
dot org
Summary: Geolocation database needs update
Status: Suspended
Type: Bug
Package: Website problem
Operating System: Not relevant
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Directi is not answering my emails and it seems that their database is really out of date (last
update 14 december 2010!), maybe that's time to use another database?
Previous Comments:
------------------------------------------------------------------------
[2011-12-21 13:19:48] php dot net dot domain dot bohwaz at miam dot kd2 dot org
OK I've contacted Directi to ask them to update their database, thanks.
------------------------------------------------------------------------
[2011-12-21 07:15:51] bjori@php.net
The ip2country database we are using seems to be updating just fine, so I guess
this information simply isn't available in our providers
database(www.directi.com).
There is very little we can do about that..
You can still "select your preferred mirror" on http://php.net/my.php to work
around this
-Hannes
------------------------------------------------------------------------
[2011-12-19 11:29:33] php dot net dot domain dot bohwaz at miam dot kd2 dot org
Description:
------------
I use OVH as provider, OVH is a French ISP since 2010 and RIPE gave them a new IP range
109.190.0.0/16 which was used by a Russian operator before.
They did the job few months ago in order to clean this range of IP and make it declared in France.
But it seems that your database is not up to date, even if the geo-localization of these IP is good:
https://apps.db.ripe.net/search/query.html
So it seems that PHP.net geolocation database needs some update.
Test script:
---------------
$ curl -I php.net/substr
Expected result:
----------------
Being redirected to fr.php.net
Actual result:
--------------
HTTP/1.1 302 Found
Date: Mon, 19 Dec 2011 11:28:29 GMT
Server: Apache/1.3.41 (Unix) PHP/5.2.17
X-Powered-By: PHP/5.2.17
Content-language: en
Set-Cookie: COUNTRY=RUS%2C109.190.6.11; expires=Mon, 26-Dec-2011 11:28:30 GMT; path=/;
domain=.php.net
X-PHP-Load: 4.52099609375, 3.67333984375, 3.275390625
Location: http://ru.php.net/substr
Connection: close
Content-Type: text/html; charset=utf-8
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60562&edit=1