ola galera vice configurei tudo sertinho funcionou no meu{ servidor local }ativei htacess tambem mais no meu {servidor web} não funcionou esta aplicação e um player xml que pega as musicas do banco de dados funciona so no servidor local não funciona no servidor web oque eu poderia fazer ele não esta funcionando o php dentro da xml <?php header("Content-type: application/xml"); echo '<?xml version="1.0" encoding="UTF-8"?>'; ?> <?php require_once('Connections/tabela.php'); ?> <?php $playertabela = 'tabela'; if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } mysql_select_db($database_player, $player); $query_player = "SELECT faixa, link FROM $playertabela ORDER BY id ASC"; $player = mysql_query($query_player, $player) or die(mysql_error()); $row_player = mysql_fetch_assoc($player); $totalRows_player = mysql_num_rows($player); ?> <playlist version="1"><trackList> <?php do { ?> <track><creator>portal do barulho</creator> <title><?php echo $row_player['faixa']; ?></title> <location><?php echo $row_player['link']; ?></location></track> <?php } while ($row_player = mysql_fetch_assoc($player)); ?> <?php mysql_free_result($player); ?> </trackList></playlist>