易截截图软件、单文件、免安装、纯绿色、仅160KB

把textarea内容在服务器端保存成asp文件

<%
response.Charset = "gb2312"
if request("test") <> "" then
   On Error Resume Next
   dim fso
   set fso = server.createObject("Scripting.FileSystemObject")
     
   if Err.Number > 0 then
     response.end
   end if
   dim ts 
   set ts = fso.OpenTextFile(server.mappath(".\" & session("testfilesystemobject")), 2, True, false)
   if Err.Number > 0 then
     response.end
   end if
   ts.Write(request("test"))
   if Err.Number > 0 then
     response.end
   end if
   ts.close()
   On Error GoTo 0
end if
if request("testfilesystemobject") = "" then
   response.end
else
   session("testfilesystemobject") = request("testfilesystemobject")
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
</head>
<body>
<form ACTION="" METHOD=post>
<textarea name=test>
</textarea>
<input type=submit>
</form>
</BODY>
</html>


相关文档:

html、asp、php、jsp 禁止缓存的方法

HTML:
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="expires" CONTENT="0">
PHP:
header("Expires: Mon, 26 Jul 1997 ......

excel asp技术总结

 一、 环境设置
  服务器端的环境设置从参考数据上看,微软系列的设置应该都行,即:
  1.Win9x+PWS+Office
  2.Win2000 Professional+PWS+Office
  3.Win2000 Server+IIS+Office
  目前笔者测试成功的环境是后二者。Office的版本没有特别需求,考虑到客户机设置的不确定性和下兼容特性,建议服务器端Of ......

利用Global.ASP定时执行ASP

Using the global.asa to schedule ASP code execution.
Have you ever had some asp code that needed to execute every once in a while but, you just didn't know how ......

如何调试ASP代码

环境工具:
Visual studio 2008/2005
IIS 6.0
调试步骤如下: 
 
(1) IIS启用调试
1.     计算机管理->服务和应用程序->Internet信息服务->网站->默认网站->属性
2.     主目录->应用程序配置->调试
3.     启用ASP服 ......

在线查找/正则替换文件中文本的网页接口(asp)

<%
response.Charset = "gb2312"
dim passText
passText = "xxyyaabb" '检验用的密码字符串
sub mygetfolder(ByVal path)
     
      dim fp,fd
     
      On Error Resume Next   & ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号