G
GT2000
Guest
This is new, just started happening today while trying to sort out some other problems..
For example, this code right here..
is only supposed to display my computer uptime from the coolmon.xml file, however, when I go to http://gt2000.gotdns.org:6569/stuff.asp it displays the whole xml file as if I had just browsed to and double-clicked it. Anyone heard of this happening before?
For example, this code right here..
Code:
<%
Set FSO = CreateObject("Scripting.FileSystemObject")
path = "C:\Program Files\CoolMon\coolmon.xml"
Set file = FSO.GetFile(path)
Set XMLFile = file.OpenAsTextStream(1,-2)
Set objXML = CreateObject("MSXML.DOMDocument")
objXML.loadXML(XMLFile.ReadAll)
Uptime = objXML.getElementsByTagName("Uptime")(0).firstChild.nodeValue
Temperature_2 = objXML.getElementsByTagName("Temperature_2")(0).firstChild.nodeValue
response.write "uptime: " & Left(Uptime,Len(Uptime)-9)
%>
is only supposed to display my computer uptime from the coolmon.xml file, however, when I go to http://gt2000.gotdns.org:6569/stuff.asp it displays the whole xml file as if I had just browsed to and double-clicked it. Anyone heard of this happening before?