Modérateur PHPfrance |
8758 Messages
07 déc. 2011, 12:00
Salut tous!
$geo['[geoplugin_city]'] == ville
Ce site du web ne peux pas trouver les rue ou le numéro de maison (house number?)
sérieux juste un minimum d'effort sur la syntaxe stp => $geo['[geoplugin_city]'] ce n'est pas correct il y a des [] en trop => $geo['geoplugin_city']
sinon le contenu fournit
array(14) {
["geoplugin_city"]=>
string(13) "Mountain View"
["geoplugin_region"]=>
string(2) "CA"
["geoplugin_areaCode"]=>
string(3) "650"
["geoplugin_dmaCode"]=>
string(3) "807"
["geoplugin_countryCode"]=>
string(2) "US"
["geoplugin_countryName"]=>
string(13) "United States"
["geoplugin_continentCode"]=>
string(2) "NA"
["geoplugin_latitude"]=>
string(15) "37.419200897217"
["geoplugin_longitude"]=>
string(16) "-122.05740356445"
["geoplugin_regionCode"]=>
string(2) "CA"
["geoplugin_regionName"]=>
string(10) "California"
["geoplugin_currencyCode"]=>
string(3) "USD"
["geoplugin_currencySymbol"]=>
string(5) "$"
["geoplugin_currencyConverter"]=>
float(1)
}
(test sur ip de google)
@+
Il en faut peu pour être heureux ......