If you prefer, you can make MaxMind's GeoIP DB available to Apache via
mod_geoip (search your repo for mod-geoip).

This way you can use mod_rewrite rules to redirect content, and grab also
geographic lookups from $_SERVER rather than a DB lookup.

I'm not sure of the performance difference - suspect it's a memory hit in
exchange for a DB read. However it helped us recently when an NZ-hosted
video (Nandor's valedictory speech) caused a bandwidth spike, and we needed
to transparently redirect foreign visitors to an offshore mirror for those
files.

(Thanks again to our marvellous hosting centre, you know who you are.)

On Fri, Sep 19, 2008 at 12:00 PM, Steve Wake <[EMAIL PROTECTED]> wrote:

> Nice robots. Did some symmetrical block stacking.
>
> On 19/09/2008, at 8:55 AM, Nathan Kennedy wrote:
>
> +1 more for maxmind.
>
> I have used their free open source CSV to populate my own database for the
> 'Active Viewers' list on my robotic arm/beetle site.
> The only false reading I have knowingly received is Telecom T3G returning
> as 'United States'. In saying that however my database is a few months old
> and may come right with an update.
>
> Thanks,
> Nathan.
>
> Web Controlled Robotic Arm and Beetle
> http://www.kennedytechnology.com
>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to