I use it all the time, and it works great. Try this instead:
Code:
<?php
include_once("geoip.inc");
include_once("geoipregionvars.php");
$gi = geoip_open("GeoIP.dat", GEOIP_STANDARD);
$record = geoip_record_by_addr($gi, "62.41.77.63");
$country_code = $record->country_code;
$state_code = $record->region;
$city_name = $record->city;
geoip_close($gi);
?>
Should work fine.

__________________
xMarkPro -- Ultimate Blog Network Management
Streamline your marketing operations. Centralize management of domains, pages, Wordpress blogs, sponsors, link codes, media items, sales and traffic statistics, plus more!