note 95731 added to function.geoip-continent-code-by-name
| From: | fabien dot snauwaert at gmail dot com | Date: | Tue, 19 Jan 2010 00:40:58 +0000 |
| Subject: | note 95731 added to function.geoip-continent-code-by-name | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165096@lists.php.net to get a copy of this message | ||
The return values are not really documented anywhere in a straight-forward fashion.
The best I could find is a list of all countries and their associated continent codes, here: http://www.maxmind.com/app/country_continent
Leaving us with 7 possible continents:
AS for Asia
EU for Europe
SA for South America
AF for Africa
AN for µAntartica
OC for Oceania
NA for North America
As mentioned above, if the host/IP is not found in the database, the function returns FALSE.
----
Server IP: 89.31.146.176
Probable Submitter: 88.178.238.198
----
Manual Page -- http://www.php.net/manual/en/function.geoip-continent-code-by-name.php
Edit -- https://master.php.net/note/edit/95731
Del: integrated -- https://master.php.net/note/delete/95731/integrated
Del: useless -- https://master.php.net/note/delete/95731/useless
Del: bad code -- https://master.php.net/note/delete/95731/bad+code
Del: spam -- https://master.php.net/note/delete/95731/spam
Del: non-english -- https://master.php.net/note/delete/95731/non-english
Del: in docs -- https://master.php.net/note/delete/95731/in+docs
Del: other reasons-- https://master.php.net/note/delete/95731
Reject -- https://master.php.net/note/reject/95731
Search -- https://master.php.net/manage/user-notes.php