%@ Language=VBScript %>
´Ù¿î ·Îµå Ä«¿îÅÍ
<%
boardname=Request("boardname")
bunho=Request("bunho")
filename=Request("filename")
'´Ù¿î ·Îµå µÉ ¶§¸¶´Ù Ä«¿îÆ® 1¾¿ Áõ°¡
sql="update "&boardname&" set pd_downcount=pd_downcount+1 where pd_bunho="&bunho
set rs=DbCon.Execute(sql)
SQLstmt="SELECT pd_fileurl FROM "&boardname&" WHERE pd_bunho = " & bunho
Set Result=DbCon.Execute(SQLstmt)
url=Result("pd_fileurl")
Response.Redirect url
%>