Ciao!
Ciao Ho una pagina PHP che lavora su un db SQL e che mi restituisce questo errore:
-----
Warning: simplexml_load_file() [function.simplexml-load-file]: http://maps.google.it/maps/geo?outpu...biago+MI+IT:1: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE0 0x2C 0x20 0x31 in C:\##PERCORSO CARTELLE##\NOMEFILE.php on line 38
------
Il codice della pagina interessato dall'errore (riga 38) è l'ultima riga di quanto segue:
-----
while ($row = @mysql_fetch_assoc($result)) {
$geocode_pending = true;
while ($geocode_pending) {
$address = $row["dug"] . " " . $row["indirizzo"] . ", " . $row["civico"] . $row["comp_civico"] . " " . $row["cap"] . " " . $row["citta"] . " " . $row["provincia"] . " " . $row["nazione"];
$id = $row["id"];
$request_url = $base_url . "&q=" . urlencode($address);
$xml = simplexml_load_file($request_url) or die("url not loading");
-----
Mi sapete dare qualche dritta per uscire da questo problema che mi sta facendo impazzire?
Grazie mille!
![]()