0
Hello, I’m not able to read a particular file at all XML
when my script is hosted on my server. The file XML
it’s not mine, it’s available for reading, and I can only read with PHP
when I test in the localhost
. Follow my code, help me please!
header ('Content-type: text/html; charset=UTF-8');
$xml = simplexml_load_file("http://stm10.igrsistemas.com.br:10522/stats?sid=1");
echo utf8_decode($xml->SONGTITLE);
Other XML
as an example: http://xcast.com.br/api/VFZSQk1VMXFTVDA9KzU= and I can normally read so much on localhost
, how much on my server...
What shows the
echo
?– Sam
Shows information contained in tag
SONGTITLE
coming from the XML file– Gus House