推薦:ASP教程之asp製作常見flash新聞圖片輪換代碼這是一個正常的網頁文件html head metahttp-equiv=Content-Typecontent=text/html;charset=gb2312/ title 新聞圖片輪換/title /head body !--#Includefile=diaoyong.asp-- /body /html 任何網頁只要調用下面這個文件(diaoyong.asp)就可以了,所用f
| <% FunctionurlChk(sUrl) onerrorresumenext SetxmlHttp=Server.CreateObject(Microsoft.XMLHTTP) xmlHttp.openGET,sUrl,false xmlHttp.send ifxmlHttp.Status<>200then urlChk=false else urlChk=true endif EndFunction sUrl=http://www.code-123.com ifurlChk(sUrl)then response.write(sUrl&(可以正常訪問!)) else response.write(sUrl&(頁面打開錯誤!)) endif %> |
分享:如何用asp程序處理數據庫被掛馬的問題數據庫被掛馬後很多人不知怎麼處理,或處理的不完全,導致網頁打開後仍有木馬,本文介紹一種比較好的處理辦法,供大家參考。 第一步:為現有數據庫做好備份。 第二步:執行如下ASP文件,就可以去掉數據庫當中的JS木馬。 (注:conn.asp從略) '這裡放入JS木