View Single Post
  #6  
Old 03-31-2011, 08:10 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Webizen, when I try to use some functions, as in the code below,

PHP Code:
<?php
if (geoip_db_avail(GEOIP_CITY_EDITION_REV1))
    print 
geoip_database_info(GEOIP_CITY_EDITION_REV1)."<br>";
$record geoip_record_by_name("www.google.com");
if (
$record) {
    
print_r($record);
}
else {
    print 
"No location found!";
}
?>
It doesn't work - the function is just failing.
Reply With Quote