摘要:
第一步: 第二步: 源文件下载:http://files.cnblogs.com/missthe/change.rar 阅读全文
摘要:
Function GetLocationURL() Dim Url Dim ServerPort,ServerName,ScriptName,QueryString ServerName = Request.ServerVariables("SERVER_NAME") ServerPort = Request.ServerVariables("SERVER_PORT") ScriptNa... 阅读全文
摘要:
Function regExReplace(sSource, replStr) //(替换字符集,代替值) Dim regEx, str1 str1 = sSource Set regEx = New RegExp regEx.Pattern = "|" regEx.IgnoreCase = True regEx.Global = True regExReplace = regEx.R... 阅读全文
摘要:
调用范例: 编辑器源代码下载:http://files.cnblogs.com/missthe/HtmlEditor.rar 阅读全文
摘要:
那样写: set rs=conn.execute("select * from Books") while not rs.eof rs2=conn.execute("select * from Authrs where AuthorID="&rs("AuthorID")) Response.write rs("Title")&">>"&rs2("Name") rs.movenext() ... 阅读全文
摘要:
函数: Function CheckURL(byval A_strUrl) set XMLHTTP = Server.CreateObject("Microsoft.XMLHTTP") XMLHTTP.open "HEAD",A_strUrl,false XMLHTTP.send() CheckURL=(XMLHTTP.status=200) set XMLHTTP = nothing End f... 阅读全文
摘要:
在费时操作前使用Response.IsClientConnected属性 使用Response.IsClientConnected是观察用户是否仍连到服务器并正在载入ASP创建的网页的有用方式。如果用户断开连接或停止下载,我们就不用再浪费服务器的资源创建网页,因为缓冲区内容将被IIS丢弃。所以,对那些需要大量时间计算或资源使用较多的网页来说,值得在每一阶段都检查游览者是否已离线: 以下为引用的... 阅读全文