Jul 04 2002

Appending tro textfile with ASP

Posted by admin under Filehandling

This example uses the opening function described here.

Here we open a file, and appends the current url to the end of the file.

<%
Set oFile = File_OpenExisting( "c:\test.txt", File_OpenForAppending ) 
oFile.WriteLine Request.ServerVariables("URL")
oFile.Close

%>