Re: [Geoip-php-discuss] Format changes
Brought to you by:
tjmather
From: T.J. M. <tjm...@ma...> - 2003-03-11 05:31:55
|
Have you tried running the sample_city.php script included with the distribution? The ISP information is contained in a separate database, so in order to get both the city and ISP info, you have to open both databases, and query the city one using geoip_record_by_addr, and the ISP one by using geoip_org_by_addr. Support for GeoIP ISP and Organization has recently been added to the PHP API. We just uploaded the latest CVS to the website at: http://www.maxmind.com/download/geoip/api/php/ sample_org.php demonstrates how to query the GeoIP ISP or Organization database. Hope this helps. -TJ On Mon, 10 Mar 2003, Steven Roussey wrote: > I have purchased the full City/ISP version of GeoIP and it looks like > the format changed early this year. Does the pure PHP version account > for this? I'm having trouble getting postal code, ISP, etc. > > -steve- > |