_脚本编码_黑客防线网安服务器维护基地--Powered by WWW.RONGSEN.COM.CN

作者:黑客防线网安网站维护基地 来源:黑客防线网安网站维护基地 浏览次数:537

本篇关键词:ASP检测链接函数
黑客防线网安网讯:<%
Function urlChk(sUrl)
on error resume next
Set xmlHttp = Server.CreateObject("Microsoft.XMLHTTP")
xmlHttp.open "GET",sUrl,false
xmlHttp.send
    if xmlHttp.Status <> 200 then
        urlChk=false

<%
Function urlChk(sUrl)
on error resume next
Set xmlHttp = Server.CreateObject("Microsoft.XMLHTTP")
xmlHttp.open "GET",sUrl,false
xmlHttp.send
    if xmlHttp.Status <> 200 then
        urlChk=false
    else
        urlChk=true
    end if
End Function


sUrl="http://code.rongsen.com.cn"

if urlChk(sUrl) then
    response.write(sUrl&"(可以正常访问!)")
else
    response.write(sUrl&"(页面打开错误!)")
end if
%>

 


 


    希望这篇的文章能够对您有所帮助,如果您觉得这篇网站维护教程有用的话,别忘了推荐给您的朋友哦!如果您有好的经验方法,不妨拿出来和大家一起分享:假如每个人都拿出一个经验,那么我们都将额外的获取一堆他人的经验。
请记住本站永久域名:(黑客防线网安服务器维护方案维护基地)Www.Rongsen.Com.Cn
    黑客防线网安服务器维护方案本篇连接:http://kj.rongsen.com.cn/show-4642-1.html
网站维护教程更新时间:2010-10-31 00:43:08  【打印此页】  【关闭
0
顶一下
0
踩一下
我要申请本站N点 | 黑客防线官网 |  
专业服务器维护及网站维护手工安全搭建环境,网站安全加固服务。黑客防线网安服务器维护基地招商进行中!QQ:29769479

footer  footer  footer  footer