
XMLHTTP.open("HEAD","http://www.test.com/test.htm",false)
XMLHTTP.send()
if XMLHTTP.status=200 then
'文件存在
end if
![]() |
|
首页 | 软件 | 编程 | 笑话 | 知识 | 公告 | 注册 | 登录 |
![]() |
|
广告位招租中 2021年 春 节 剩 26 天 2021年 情人节 剩 28 天 2021年 元宵节 剩 40 天 2022年 元 旦 剩 349 天 |
![]() |
![]() |
您现在的位置:首页 >> ASP >> 内容asp中判断文件是否存在(不是本机上的文件)内容摘要: set XMLHTTP =Server.CreateObject('Microsoft.XMLHTTP')XMLHTTP.open('HEAD','http://www.test.com/test.htm',false)XMLHTTP.send()if XMLHTTP.status=200 then'文件存在end if...... ![]() XMLHTTP.open("HEAD","http://www.test.com/test.htm",false) XMLHTTP.send() if XMLHTTP.status=200 then '文件存在 end if 发布日期:2020/11/11 发布时间:16:10:39 点击:502 录入:齐天大圣 ![]() |
|
![]() |
![]() |
|