File/libraries/geotargeting/geoip.inc.php

Description
  • TODO:

    Not all MaxMind LLC databases have been tested yet!

    File to get GeoTargeting information directly from the MaxMind LLC database file, without having it accessed via the C/mod_apache interface.

  • author: Andrew Hill <andrew@awarez.net>
Functions
geoipGetInfo (line 48)

The function to look up the GeoTargeting information, based on the IP address.

void geoipGetInfo (string $ip, array &$result)
  • string $ip: The dotted quad formatted IP address.
  • array $result: A reference to an array that will contain the results of the GeoTargeting lookup.

Documentation generated on Fri, 11 Feb 2005 18:13:18 +0000 by phpDocumentor 1.3.0RC3