<%Function GetBody(url)'Set Retrieval = CreateObject("Microsoft.XMLHTTP") Retrieval.Open "Get", url, False, "", "" Retrieval.Send() if (Retrieval.status=404) thenGetBody=""elseGetBody =Retrieval.ResponseBodyend ifEnd Functionstr = GetBody("static/picture/logo.jpg")if cstr(str) <> "" thenresponse.write "存在"elseresponse.write "不存在"end if%>