FW: [PEAR-DEV] New class Net_Geo
| From: | James Cox | Date: | Wed, 30 Jan 2002 03:49:17 +0000 |
| Subject: | FW: [PEAR-DEV] New class Net_Geo | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-4286@lists.php.net to get a copy of this message | ||
just forwarding, perhaps someone will see the error etc.
-----Original Message-----
From: James Cox [mailto:imajes@php.net]
Sent: Wednesday, January 30, 2002 3:46 AM
To: Graeme Merrall
Subject: RE: [PEAR-DEV] New class Net_Geo
erm, i broke it..
http://inetix.com.au/php/test_netgeo.php?form_input=imajes.ic5.net
sorry :)
james
> -----Original Message-----
> From: Graeme Merrall [mailto:graeme@inetix.com.au]
> Sent: Tuesday, January 29, 2002 11:45 PM
> To: pear-dev@lists.php.net
> Subject: [PEAR-DEV] New class Net_Geo
>
>
> Hi.
> I've knocked up a class which is PEAR compatible called Net_Geo. This is a
> basic port of existing Java and Perl classes from caida.org.
>
> Net_Geo obtains geographical information based on IP address, host name or
> Autonomous System (AS) number. From this input, various information is
> returned including latitude and longitude ranging in granularity from
> Country to City depending on what's in the NetGeo database.
>
> You can check it out at
> http://inetix.com.au/php/test_netgeo.php
>
> I've found that even though you can feed in domain names, the
> NetGeo server
> does not always return a positive result whereas an IP number always works
> correctly so the test form converts to an IP before querying. I've also
> included a link to Map Quest for fun. Ouput formatted using Frederic's
> class Var_Dump class :)
>
> The caching is rather simple so any advice there would be
> appreciated. IIRC
> last time I tried the Cache/Function.php I could not use it
> inside a class.
>
> I'd love to see it go into PEAR is possible.
>
> Cheers,
> Graeme
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, e-mail: pear-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: pear-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>