How do I access a value from machine.config in classic asp? I can't find the answer anywhere.... I don't even know how to begin to try to find a solution....
Asked
Active
Viewed 90 times
1 Answers
0
Use TextStream object.
Example:
<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.OpenTextFile(Server.MapPath("testread.txt"), 1)
Response.Write(f.ReadAll)
f.Close
Set f=Nothing
Set fs=Nothing
%>

sumpen
- 503
- 6
- 19