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

首頁 > 編程 > ASP > 正文

非常不錯的flash采集程序測試通過

2024-05-04 10:58:39
字體:
來源:轉載
供稿:網友
復制代碼 代碼如下:


<%
'--------------------------------------------------------------
 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")

%>

復制代碼 代碼如下:

<%
if request("id") and request("overid") and request("download") <>"" then
response.redirect "getid.asp?id="&request("id")&"&overid="&request("overid")&"&download="&request("download")
else
%>
<body>
<P> </P>
<form name="form1" method="get" action="getid.asp">
  開始采集的專輯ID號: 
  <input name="id" type="text" id="id" size="10">
  結束ID: 
  <input name="overid" type="text" id="overid" size="10">
  是否將數據下載到本地: 是
<input type="radio" name="download" value="yes">
  否
  <input name="download" type="radio" value="no" checked>
  <input type="submit" name="Submit" value="提交">
</form>
</body>
</html>
<%end if%>

復制代碼 代碼如下:

<!-- #include File="Conn.asp" -->
<%
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?id="&gourl1&""">"
response.end
end if
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 三穗县| 河东区| 三原县| 增城市| 宿迁市| 罗田县| 大同县| 梓潼县| 皮山县| 天水市| 平和县| 将乐县| 梅河口市| 福州市| 邵武市| 水城县| 无为县| 山丹县| 通道| 嘉祥县| 太仆寺旗| 财经| 南昌县| 南平市| 甘南县| 锡林郭勒盟| 达孜县| 陕西省| 扶风县| 肥城市| 临猗县| 定安县| 临桂县| 招远市| 左云县| 和林格尔县| 永定县| 张北县| 交城县| 峨山| 铁岭县|