1

PHP Parsing XML file hosted @ tropo

Hello,

 

I'm creating a script that need to check bank holiday in an xml file hosted on tropo.

 

I'm trying to do it like that but unfortunatly, it doesn't work:

 

if (file_exists('http://hosting.tropo.com/5077636/www/holidays.xml'))
{
if (($response_xml_data = file_get_contents('http://hosting.tropo.com/xxxxxx/www/holidays.xml'))===false)
{
say("Error fetching XML");
}
else
{

say("Loading holidays file");
if(($xml = simplexml_load_file($response_xml_data)))
{

 

Is it possible to parse a xml file hosted on tropo ? If yes, how ?

 

 

Thank you.

 

Nicolas

1 comment

Please sign in to leave a comment.