title: geopip record is always null?
body: <p>I have access to the GeoIP.dat file through my current host but every IP I enter is empty.  Any idea what might be wrong or a way to troubleshoot it? I have php errors on but I don't see anything wrong.</p>
  
  <p>Here is my current script:</p>
  
  <pre><code>&lt;?php
  
  include('geoip.inc');
  include('geoipcity.inc');
  include('geoipregionvars.php');
  
  
  $gi = geoip_open("GeoIP.dat", GEOIP_STANDARD);
  
  $rsGeoData = geoip_record_by_addr($gi, $_SERVER['REMOTE_ADDR']);
  
  echo("&lt;pre&gt;");
  print_r($rsGeoData);
  echo("&lt;/pre&gt;");
  
  geoip_close($gi);
  
  ?&gt;
  </code></pre>
  
  <p>The result always looks like this:</p>
  
  <pre><code>geoiprecord Object
  (
  [country_code] =&gt; 
  [country_code3] =&gt; 
  [country_name] =&gt; 
  [region] =&gt; 
  [city] =&gt; 
  [postal_code] =&gt; 
  [latitude] =&gt; -180
  [longitude] =&gt; -180
  [area_code] =&gt; 
  [dma_code] =&gt; 
  [metro_code] =&gt; 
  [continent_code] =&gt; --
  )
  </code></pre>