Estoy intentando hacer mi xml dinamico para poder manipular mediante action script, este es mi codigo xml ya con php, si acceso a el mediante
http://localhost/pagina/data.php me sale el tipico error de:
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\pagina\data.php:1) in C:\AppServ\www\pagina\data.php on line 1
Este es mi codigo xml+php, es normal que salga ese error??, ya e revisado con el bloc de notas, php designer el editor de cpanel y no encuentro ningun caracter en la parte inicial, mi flash no funciona quiero pensar que es por que me sale ese error, gracias por su ayuda....
Código PHP:
Ver original<?php header('Content-Type: text/xml'); echo "<?xml version='1.0' encoding='iso-8859-1'?>";
echo "<Banner";
echo 'bannerWidth=""';
echo 'bannerHeight=""';
echo 'textSize="14"';
echo 'textColor="#000"';
echo 'textAreaWidth=""';
echo 'textLineSpacing="0"';
echo 'textLetterSpacing="-0.5"';
echo 'textMarginLeft="12"';
echo 'textMarginBottom="5"';
echo 'transitionType="5"';
echo 'transitionDelayTimeFixed="2"';
echo 'transitionDelayTimePerWord=".5"';
echo 'transitionSpeed="8"';
echo 'transitionBlur="yes"';
echo 'transitionRandomizeOrder="no"';
echo 'showTimerClock="yes"';
echo 'showBackButton="no"';
echo 'showNumberButtons="yes"';
echo 'showNumberButtonsAlways="no"';
echo 'showNumberButtonsHorizontal="no"';
echo 'showNumberButtonsAscending="yes"';
echo 'autoPlay="yes"';
echo '>';
echo '<item image="./modulos/empresas/banner_images/b1.jpg"';
echo 'link="http://www.google.co.in/search?hl=en&q=1"';
echo 'target="_blank"';
echo 'textBlend="no"><![CDATA[Todo' ;
echo ']]></item>';
echo '</Banner>'
?>