faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Common Problems : forms and user input

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

15 of 21 people (71%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

How can I send the data entered in a form to a txt file and then every time more data is sent, the txt file adds it in a new line?

May 24th, 2000 07:30
unknown unknown, Serdar Kilic


A couple of things, try this:

<%
        Dim filesys, msge
        Set filesys = CreateObject("Scripting.FileSystemObject")
        Set msge = filesys.OpenTextFile("c:\msge.txt", 8, true)
        msge.WriteLine Request.Form("name")
        msge.Close
%>



© 1999-2004 Synop Pty Ltd