| enum CANADA_OFFSET |
| enum FIPS_RANGE |
| enum GEOIP_ASNUM_EDITION |
| enum GEOIP_CABLEDSL_SPEED |
| enum GEOIP_COUNTRY_BEGIN |
geoip.inc
Copyright (C) 2007 MaxMind LLC
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Modified by Loic d'Anterroches to have the function names with the right case GeoIP instead of geoip.
Added GeoIP_countryOfRequest function. Using single quotes instead of double.
Downloaded 2007-11-26.
| enum GEOIP_DIALUP_SPEED |
| enum GEOIP_ISP_EDITION |
| enum GEOIP_MEMORY_CACHE |
| enum GEOIP_ORG_EDITION |
| enum GEOIP_PROXY_EDITION |
| enum GEOIP_SHARED_MEMORY |
| enum GEOIP_SHM_KEY |
| enum GEOIP_STANDARD |
| enum GEOIP_UNKNOWN_SPEED |
| enum MAX_RECORD_LENGTH |
| enum ORG_RECORD_LENGTH |
| enum US_OFFSET |
| enum WORLD_OFFSET |
| _GeoIP_seek_country | ( | $ | gi, | |
| $ | ipnum | |||
| ) |
| _get_org | ( | $ | gi, | |
| $ | ipnum | |||
| ) |
| _get_region | ( | $ | gi, | |
| $ | ipnum | |||
| ) |
| _setup_segments | ( | $ | gi | ) |
| GeoIP_close | ( | $ | gi | ) |
| GeoIP_country_code_by_addr | ( | $ | gi, | |
| $ | addr | |||
| ) |
| GeoIP_country_code_by_name | ( | $ | gi, | |
| $ | name | |||
| ) |
| GeoIP_country_id_by_addr | ( | $ | gi, | |
| $ | addr | |||
| ) |
| GeoIP_country_id_by_name | ( | $ | gi, | |
| $ | name | |||
| ) |
| GeoIP_country_name_by_addr | ( | $ | gi, | |
| $ | addr | |||
| ) |
| GeoIP_country_name_by_name | ( | $ | gi, | |
| $ | name | |||
| ) |
| GeoIP_countryOfRequest | ( | $ | request, | |
| $ | geoipdb | |||
| ) |
Return the 2 character code of the country given the request object.
| Pluf_HTTP_Request | ||
| string | Path to the GeoIP database |
| GeoIP_getdnsattributes | ( | $ | l, | |
| $ | ip | |||
| ) |
| GeoIP_load_shared_mem | ( | $ | file | ) |
| GeoIP_open | ( | $ | filename, | |
| $ | flags | |||
| ) |
| GeoIP_org_by_addr | ( | $ | gi, | |
| $ | addr | |||
| ) |
| GeoIP_region_by_addr | ( | $ | gi, | |
| $ | addr | |||
| ) |