Append a textfile information to a variable
I am trying to do something like this:
<%
Dim sLine, bIsNewElement,textline
Set fs=Server.CreateObject("Scripting.FileSystemObject ")
Set f=fs.OpenTextFile(Server.MapPath("archive"+"/"+archive+"/title/title.txt"), 1)
'below wont work
textline = f
bIsNewElement = true
Response.Write "<span class='TextBold14pt'>" & f.ReadLine & "</span>"
Response.Write textline
f.Close
Set f=Nothing
Set fs=Nothing
%>
does anyone has any idea how to append the info from a text file to a variable?
Thankx!
...helmut
__________________
...helmut
|