推荐:ASP教程之asp制作常见flash新闻图片轮换代码这是一个正常的网页文件 html head metahttp-equiv=Content-Typecontent=text/html;charset=gb2312/ title 新闻图片轮换 /title /head body !--#Includefile=diaoyong.asp-- /body /html 任何网页只要调用下面这个文件(diaoyong.asp)就可以了,所用f
| <% FunctionurlChk(sUrl) onerrorresumenext SetxmlHttp=Server.CreateObject(Microsoft.XMLHTTP) xmlHttp.openGET,sUrl,false xmlHttp.send ifxmlHttp.Status<>200then urlChk=false else urlChk=true endif EndFunction sUrl=http://www.code-123.com ifurlChk(sUrl)then response.write(sUrl&(可以正常访问!)) else response.write(sUrl&(页面打开错误!)) endif %> |
分享:如何用asp程序处理数据库被挂马的问题数据库被挂马后很多人不知怎么处理,或处理的不完全,导致网页打开后仍有木马,本文介绍一种比较好的处理办法,供大家参考。 第一步 :为现有数据库做好备份。 第二步 :执行如下ASP文件,就可以去掉数据库当中的JS木马。(注:conn.asp从略) ’这里放入JS木