日期:2014-05-17 浏览次数:21033 次
<form method='post' action='save.asp'> <input type="text" name="ct"/><input type='submit' value='提交'/> </form>
------解决方案--------------------
<%
dim filesys, filetxt
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Set filesys = CreateObject("Scripting.FileSystemObject")
Set filetxt = filesys.OpenTextFile("somefile.txt", ForAppending, True)
filetxt.WriteLine("Your text goes here.")
filetxt.Close
%>
------解决方案--------------------
参考#2的。是追加内容的,1#是重写原文件