?? download.asp
字號(hào):
<!--#include file="conn.asp"-->
<%
id = trim(request("id"))
if id = "" then
conn.close
set conn = nothing
response.write "<script>alert('沒(méi)有找到您要閱讀的資料');window.close();</script>"
response.end
end if
sql = "select * from main where mainid="&id
set rs = server.createobject("adodb.recordset")
rs.open sql,conn,1,3
if rs.bof and rs.eof then
rs.close
set rs = nothing
conn.close
set conn = nothing
response.write "<script>alert('沒(méi)有找到您要閱讀的資料');window.close();</script>"
response.end
else
rs("times") = rs("times") + 1
rs.update
response.redirect rs("fileurl")
rs.close
set rs = nothing
conn.close
set conn = nothing
end if
%>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -