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

首頁 > 網站 > 幫助中心 > 正文

獲取遠程flash并保存到本地

2024-07-09 22:40:54
字體:
來源:轉載
供稿:網友
復制代碼 代碼如下:
<%
'--------------------------------------------------------------
 Dbname = "../data/flash.mdb"          '更改數據庫文件位置,強烈建議更改為.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 "結束ID不可為空"
response.end
elseif request("download")="" then
response.write "請選擇是否下載"
response.end
end if
if request("id")=request("overid") then
response.write "采集任務結束"
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 "獲取遠程文件 <a href="&url&" target=_blank>"&url&"</a> 失敗。"
       response.write"<meta http-equiv=""refresh"" content=""0;URL=getid.asp?"">"
       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 
       nextcharcode = ascb(midb(vin,i+1,1)) 
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 左云县| 信宜市| 新田县| 沽源县| 榆林市| 岳西县| 枣阳市| 枞阳县| 蒲城县| 栾城县| 泰州市| 新田县| 花垣县| 隆回县| 临猗县| 渝中区| 沾益县| 玉环县| 平定县| 奉新县| 嵩明县| 苍山县| 永春县| 大荔县| 荔波县| 宾川县| 苏尼特右旗| 重庆市| 云浮市| 南溪县| 固镇县| 漾濞| 罗平县| 乌拉特前旗| 贞丰县| 西乌珠穆沁旗| 凯里市| 三都| 济南市| 民权县| 西充县|