<%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("http://www.021jz.com.cn/img/logo.jpg")if cstr(str) <> "" thenresponse.write "存在"elseresponse.write "不存在"end if%>