Votre pays: geoplugin_countryName != null) { $result = $ip_data->geoplugin_countryName; } return $result; } echo visitor_country(); // Output Coutry name [Ex: United States] ?>