I want to print out de data from a xml that’s on a static ip-adress.
Here you can see the xml (it’s an example): http://216.160.239.63:9011/stateFull.xml
and my code =
<?php $xml=simplexml_load_file("http://216.160.239.63:9011/stateFull.xml") or die("Error: Cannot create object"); print_r($xml); ?>Can anyone tel me why it isn’t working? I can see the xml when I type the url in the adress bar, but I can’t print it out by in php script and use the data.
Is there maybe another script that can read out xml data that’s on a static ip-adress??
Hope somebody can help me out. I googled and tried for so long…