Posts
247
Comments
67
Trackbacks
4
Den Inhalt einer Datei in eine Variable einlesen

Fürs Archiv: "Den Inhalt einer Datei in eine Variable einlesen"

<%
dim f,fs
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.OpenTextFile(Server.MapPath("Rechnung_Vorlage.htm"), 1)
variablenname = f.ReadAll
f.Close

Set f=Nothing
Set fs=Nothing
%>

posted on Thursday, November 03, 2005 9:16 AM Print
Comments
No comments posted yet.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 7 and 3 and type the answer here: