欢迎来到天天文库
浏览记录
ID:24208807
大小:51.00 KB
页数:3页
时间:2018-11-13
《asp判断文件地址是否有效!》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ASP判断文件地址是否有效!<%’原创:小艺:52093时间:2005.6.30Response.icrosoft.XMLHTTP")objxml.Open"get",xmlurl,falseobjxml.setrequestheader"content-type","application/x--form-urlencoded"objxml.sendobjxmlhttp=objxml.responsebodyifErrthenErr.ClearResponse.idB(vIn,i,1))IfThisCharCode<H80ThenstrRet
2、urn=strReturnChr(ThisCharCode)ElseNextCharCode=AscB(MidB(vIn,i+1,1))strReturn=strReturnChr(CLng(ThisCharCode)*H100+CInt(NextCharCode))i=i+1EndIfNextbytes2BSTR=strReturnEndFunctionthisurl2=Split(thisurl,",")ForEachiiInthisurl2&n12下一页>>>>这篇文章来自..,。bsp;thistext=bytes2BSTR(objxmlhttp(
3、ii))ifInStr(thistext,"<html>")<>0thenResponse.p;ii"<b>×</b></span><br>")ElseResponse.p;ii"<b>√</b></span><br>")EndifNextifErrthenErr.ClearResponse.p;Err.Description"!</span>")Response.EndEndif%>上一页12>>>>这篇文章来自..,
4、。
此文档下载收益归作者所有