<!--1.htm-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
" http://www.w3.org/TR/html4/loose.dtd ">
<html>
<голова>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<тело>
<form name="form1" метод="post" action="t.asp">
<р>
<textarea name="textarea" cols="50" rows="10"></textarea>
</p>
<p> <input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</p>
</форма>
</тело>
</html>
<!--t.asp-->
< %@LANGUAGE="VBSCRIPT " CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd ">
<html>
<голова>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<тело>
<%
тусклое сообщение
msg=request.Form("текстовая область")
msg=replace(msg,vbcrlf,"<br>")
msg=replace(msg," "," ")
ответ.написать сообщение
%>
</body>
</html>