I'm using ASP but trying to display data from an XML stream produced by PHP file.
If I'm using my PC for displaying data it works fine.
If I upload files with javaScript or data Island to a remote server they stop working. XMP output is valid and well formed (I check it).
The only way to display the data on the remote server is to save a stream as an actual XML file and put it in the same directory on the server with Data Island file or JavaScript file - then it works.
I need to grab XML data and save it on the remote server as XML file 2 times a day.
1. Can I do it by using FSO in ASP?
Or this code is enough?
Dim oXML
Set oXML = CreateObject("MSXML2.DOMDocument"
oXML.load " & _
"day=" & Day(Now) & _
"&month=" & Month(Now) & _
"&year=" & Year(Now)
oXML.save "C:\calendar.xml"
2. Why doesn't want to work on a remote server but works on my machine when I connected to the Internet?
Thanks
If I'm using my PC for displaying data it works fine.
If I upload files with javaScript or data Island to a remote server they stop working. XMP output is valid and well formed (I check it).
The only way to display the data on the remote server is to save a stream as an actual XML file and put it in the same directory on the server with Data Island file or JavaScript file - then it works.
I need to grab XML data and save it on the remote server as XML file 2 times a day.
1. Can I do it by using FSO in ASP?
Or this code is enough?
Dim oXML
Set oXML = CreateObject("MSXML2.DOMDocument"
oXML.load " & _
"day=" & Day(Now) & _
"&month=" & Month(Now) & _
"&year=" & Year(Now)
oXML.save "C:\calendar.xml"
2. Why doesn't want to work on a remote server but works on my machine when I connected to the Internet?
Thanks