DAZTOMKINS
asked on
Parsing XML retrieved from URL
Hi
I have parsed XML in PHP before from standing XML files however the project I am working on at the moment requires something slightly different.
The XML has to be retreived from a .exe file using a URL. The .exe is in the same directory as the php file.
When the URL is called it responds with the XML.
I dont know how to parse this in XML as the only knowledge I have of parsing XML is when it is stored in a .xml file.
Does anyone have any ideas if this can be done and if so how?
Many Thanks,
Daz
I have parsed XML in PHP before from standing XML files however the project I am working on at the moment requires something slightly different.
The XML has to be retreived from a .exe file using a URL. The .exe is in the same directory as the php file.
When the URL is called it responds with the XML.
I dont know how to parse this in XML as the only knowledge I have of parsing XML is when it is stored in a .xml file.
Does anyone have any ideas if this can be done and if so how?
Many Thanks,
Daz
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In addition, if it's still hard for you, then just save what URL returns to a temp file, then open that temp file as an XML file
What happens when you execute that exe file ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for your help.