could any one tell me how i can read a file with asp
called test.txt!
Printable View
could any one tell me how i can read a file with asp
called test.txt!
There ya go this site is great for basic asp stuff: w3schools.comCode:<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.OpenTextFile(Server.MapPath("test.txt"), 1)
Response.Write(f.ReadAll)
f.Close
Set f=Nothing
Set fs=Nothing
%>