The code copy is as follows:
<%
'--------------------------------------------------------------
Dbname="../data/flash.mdb"'Changes the database file location, it is strongly recommended to change it to a .asp file!
SetConn=Server.CreateObject("ADODB.Connection")
Connstr="Provider=Microsoft.Jet.OLEDB.4.0;DataSource="&Server.Mappath(Dbname)
Conn.OpenConnstr
'------------------------------------------------------------
SetList=Conn.Execute("Select*FromSystem")
WebName=List("WebName")
WebUrl=List("WebUrl")
webemail=List("webemail")
zzname=List("zzname")
qq=List("webqq")
%>
The code copy is as follows:
<%
ifrequest("id")andrequest("overid")andrequest("download")<>""then
response.redirect"getid.asp?id="&request("id")&"&overid="&request("overid")&"&download="&request("download")
else
%>
<body>
<P></P>
<formname="form1"method="get"action="getid.asp">
The album ID number that started collecting:
<inputname="id"type="text"id="id"size="10">
End ID:
<inputname="overid"type="text"id="overid"size="10">
Whether to download the data locally: Yes
<inputtype="radio"name="download"value="yes">
no
<inputname="download"type="radio"value="no"checked>
<inputtype="submit"name="Submit"value="submit">
</form>
</body>
</html>
<%endif%>
The code copy is as follows:
<!--#includeFile="Conn.asp"-->
<%
Server.ScriptTimeOut=999999999
%>
<%
ifrequest("overid")=""then
response.write "End ID cannot be empty"
response.end
elseifrequest("download")=""then
response.write "Please select whether to download"
response.end
endif
ifrequest("id")=request("overid")then
response.write "Collection task ends"
response.end
endif
gourl1=request("id")
gourl1=gourl1+1
%>
<%
functionGetPy(Str)
fori=1tolen(Str)
GetPy=GetPy&GetPyChar(mid(Str,i,1))
next
endfunction
FunctionGetURL(url)
SetRetrieval=CreateObject("Microsoft.XMLHTTP")
WithRetrieval
.Open"GET",url,False
.Send
GetURL=bytes2bstr(.responsebody)
iflen(.responsebody)<100then