ASP實(shí)現(xiàn)小偷程序原理和簡單示例(2)_ASP教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
推薦:有用的無聲遞交表單的客戶端函數(shù)采用Microsoft.XMLHTTP提交數(shù)據(jù)的形式實(shí)現(xiàn)客戶端無刷新 以下為引用的內(nèi)容: <SCRIPT LANGUAGE="vbScript"> dim i,strR
'2、轉(zhuǎn)換亂瑪,直接用xmlhttp調(diào)用有中文字符的網(wǎng)頁得到的將是亂瑪,可以通過adodb.stream組件進(jìn)行轉(zhuǎn)換
| Function BytesToBstr(body,Cset) dim objstream set objstream = Server.CreateObject("adodb.stream") objstream.Type = 1 objstream.Mode =3 objstream.Open objstream.Write body objstream.Position = 0 objstream.Type = 2 objstream.Charset = Cset BytesToBstr = objstream.ReadText objstream.Close set objstream = nothing End Function |
'下面試著調(diào)用http://www.3doing.com/earticle/的html內(nèi)容
| Dim Url,Html Url="http://www.3doing.com/earticle/" Html = getHTTPPage(Url) Response.write Html %> |
分享:ASP技巧:禁用頁面緩存的五種方法1、在Asp頁面首部<head>加入 以下為引用的內(nèi)容: Response.Buffer = True Response.ExpiresAbsolute = Now() - 1 Resp
相關(guān)ASP教程:
- asp FSO 讀寫文件本文件實(shí)現(xiàn)代碼
- asp中isNull、isEmpty和空字符串的區(qū)別
- asp獲取用戶真實(shí)IP地址的方法
- asp連接sqlserver數(shù)據(jù)庫實(shí)現(xiàn)代碼
- asp中正則表達(dá)式過濾html代碼函數(shù)
- asp中g(shù)et post提交表單區(qū)別
- 網(wǎng)頁模板:ASP內(nèi)建對(duì)象Request
- xmlhttp的open方法使用詳解
- ASP的常用的自定義函數(shù)大全
- asp中用for循環(huán)的一個(gè)小技巧
- eWebEditor v3.8 列目錄
- ASP無組件分頁實(shí)現(xiàn)思路及代碼
- 相關(guān)鏈接:
- 教程說明:
ASP教程-ASP實(shí)現(xiàn)小偷程序原理和簡單示例(2)
。