<% id=request("id") set rs=server.createobject("adodb.recordset") sql="select kbfile from dzkuaibao where id="& id rs.open sql,conn,0,2 kbfile=rs("kbfile") rs.close dkbfile="/dizhenkuaibao/"& kbfile 'response.write dkbfile '紀錄 '------------------------------- logonuser="NaN" ipaddr=request("remote_addr") sqllog="INSERT INTO DzkbLog (kbid,kbfile,shijian,xuser,ipaddr) VALUES ("& id &",'"& kbfile &"',getdate(),'"& logonuser &"','"& ipaddr &"')" sqlkb="update dzkuaibao set yd=yd+1 where id="& id set rslog=conn.execute(sqllog) set rskb=conn.execute(sqlkb) rslog.close set rslog=nothing rskb.close set rskb=nothing set rs=nothing conn.close set conn=nothing set gdsnuser=nothing set gdsngroup=nothing response.redirect dkbfile %>辽宁快乐12一定牛分布