Jump to content

trying to open a xml file


justcreations

Recommended Posts

Hi people,

 

I'm trying to use simpleXML in php.

 

But struck a problem with the way my XML is generated. In a browser the URL below will generate the XML appropiately, but in php i cant get the asp generated xml content. Ive just stated with php, so my noob debuging abilities leads me to think that because the URL is compounded with parameters for the asp to generate the xml, functions like fopen() or file_get_contents() dont give me the generated XML content.

 

http://rtt.metroinfo.org.nz/RTT/Public/Utility/File.aspx?Name=RoutePositionET.xml&ContentType=SQLXML&PlatformNo=38719

 

I will really appreciate some advice, even if some can tell me what a compounded URL like the one above is called.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/87023-trying-to-open-a-xml-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.