网站制作学习网ASP→正文:asp判断图片存在
字体:

asp判断图片存在

ASP 2008/3/28 17:04:24  点击:不统计

asp判断图片存在,asp判断是否存在图片

比如图片:a.jpg

Set fso = CreateObject("Scripting.FileSystemObject")

path=server.mappath("/img/a.jpg")

If (fso.FileExists(path)) Then

response.write "ok"

else

response.write "no"

end if



·上一篇:asp备份数据库(access) >>    ·下一篇:ASP操作Mysql >>
推荐文章
最新文章