RE: [Geoip-php-discuss] Format changes
Brought to you by:
tjmather
From: Steven R. <sro...@ne...> - 2003-03-11 06:17:22
|
Thanks for the updated versions. I have GeoIPCity.dat, GeoIPISP.dat, and GeoIPOrg.dat sample_city.php uses GeoIPCity.dat sample_org.php uses GeoIPOrg.dat what is an example of GeoIPISP.dat? Also, the postal code still does not show: # ./sample_city.php Notice: Undefined variable: record_buf_pos in geoipcity.inc on line 48 US USA United States NJ Pleasantville 39.4709 -74.686 The line after Pleasantville should have the postal code, right? -steve- > -----Original Message----- > > 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- > > |