log.

1.html

<form name="LoginForm" method="post" action="1.asp" style="margin-top:0px;">
姓名: <input name="xingming" type="text" class="input" style="width:100px;">
手机号码: <input name="shouji" type="text" class="input" style="width:100px;">
内容: <input name="liuyan" type="text" class="input" style="width:150px;">
<input type="image" src="images/submit.gif" >
</form>


1.asp

<%
dim xingming
dim shouji
dim liuyan
xingming=request("xingming")
shouji=request("shouji")
liuyan=request("liuyan")
'创建 FileSystemObject 对象实例
Set fso=Server.CreateObject("Scripting.FileSystemObject")
'创建一个文本文件并返回 TextStream对象
Set txtFile=fso.CreateTextFile(Server.MapPath(""&shouji&".txt"),True)
'对文件执行写操作
txtFile.WriteLine "姓名:"&xingming&""
txtFile.WriteLine "手机:"&shouji&""
txtFile.WriteLine "内容:"&liuyan&""
txtFile.Close
%>