国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 編程 > ASP > 正文

獲取遠(yuǎn)程flash并保存到本地

2024-05-04 11:02:25
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
復(fù)制代碼 代碼如下:
<%
'--------------------------------------------------------------
 Dbname = "../data/flash.mdb"          '更改數(shù)據(jù)庫(kù)文件位置,強(qiáng)烈建議更改為.asp的文件!
 Set Conn = Server.CreateObject("ADODB.Connection")
 Connstr = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & Server.Mappath(Dbname)
 Conn.Open Connstr
'------------------------------------------------------------
 Set List = Conn.Execute("Select * From System")
 WebName = List("WebName")
 WebUrl = List("WebUrl")
 webemail = List("webemail")
 zzname = List("zzname")
 qq = List("webqq")
%>

<%
Server.ScriptTimeOut=999999999
%>
<%
if request("overid")="" then
response.write "結(jié)束ID不可為空"
response.end
elseif request("download")="" then
response.write "請(qǐng)選擇是否下載"
response.end
end if
if request("id")=request("overid") then
response.write "采集任務(wù)結(jié)束"
response.end
end if
gourl1=request("id")
gourl1=gourl1+1
%>
<%
function GetPy(Str)
  for i=1 to len(Str)
     GetPy=GetPy&GetPyChar(mid(Str,i,1))
  next
end function
Function GetURL(url) 
   Set Retrieval = CreateObject("Microsoft.XMLHTTP") 
  With Retrieval 
    .Open "GET", url, False
    .Send 
    GetURL = bytes2bstr(.responsebody)
    if len(.responsebody)<100 then
       response.write "獲取遠(yuǎn)程文件 <a href="&url&" target=_blank>"&url&"</a> 失敗。"
       response.write"<meta http-equiv=""refresh"" content=""0;URL=getid.asp?id="&gourl1&""">"
       response.end
    end if
  End With 
  Set Retrieval = Nothing 
End Function
function bytes2bstr(vin) 
  strreturn = "" 
  for i = 1 to lenb(vin) 
       thischarcode = ascb(midb(vin,i,1)) 
    if thischarcode < &h80 then 
       strreturn = strreturn & chr(thischarcode) 
    else 
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 绥中县| 金湖县| 乐至县| 七台河市| 色达县| 通化市| 花莲县| 山丹县| 上林县| 香港| 嘉祥县| 吴旗县| 张家川| 金溪县| 兴安县| 谷城县| 陆河县| 深圳市| 淮北市| 和平区| 额敏县| 延安市| 开化县| 平乡县| 云龙县| 佳木斯市| 信宜市| 永州市| 西丰县| 昌宁县| 雷波县| 剑川县| 隆昌县| 泸西县| 普格县| 锡林浩特市| 灵石县| 利津县| 沙田区| 抚州市| 义马市|