묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
<%
Set fs = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = fs.OpenTextFile("result.log",8,true)
objFile.write("resultecode=")
objFile.write(Request("resultcode"))
objFile.write(" ")
objFile.write("resultmsg=")
objFile.write(Request("resultmsg"))
objFile.write(" ")
objFile.write("paymethod=")
objFile.write(Request("paymethod"))
objFile.write(" ")
objFile.write("tid=")
objFile.write(Request("tid"))
objFile.write(" ")
objFile.write("price=")
objFile.write(Request("price"))
objFile.write(" ")
objFile.write("currency=")
objFile.write(Request("currency"))
objFile.write(" ")
objFile.write("cardauthcode=")
objFile.write(Request("cardauthcode"))
objFile.write(" ")
objFile.write("cardquota=")
objFile.write(Request("cardquota"))
objFile.write(" ")
objFile.write("merchantreserved1=")
objFile.write(Request("merchantreserved1"))
objFile.write(" ")
objFile.write("merchantreserved2=")
objFile.write(Request("merchantreserved2"))
objFile.write(" ")
objFile.write("merchantreserved3=")
objFile.write(Request("merchantreserved3"))
objFile.write(" ")
objFile.writeline("log finish")
objFile.close
%>
위의 코드는 ASP 이구요,, 리턴값이라는군요...
궁금한게 PG사에서 결제후 넘어오는 값을 MS-SQL에 저장하려고 합니다.
어떻게 해야 할까요....
리턴값을 DB에 저장하려면 ASP/MS-SQL
2005.04.09 13:53
<%
Set fs = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = fs.OpenTextFile("result.log",8,true)
objFile.write("resultecode=")
objFile.write(Request("resultcode"))
objFile.write(" ")
objFile.write("resultmsg=")
objFile.write(Request("resultmsg"))
objFile.write(" ")
objFile.write("paymethod=")
objFile.write(Request("paymethod"))
objFile.write(" ")
objFile.write("tid=")
objFile.write(Request("tid"))
objFile.write(" ")
objFile.write("price=")
objFile.write(Request("price"))
objFile.write(" ")
objFile.write("currency=")
objFile.write(Request("currency"))
objFile.write(" ")
objFile.write("cardauthcode=")
objFile.write(Request("cardauthcode"))
objFile.write(" ")
objFile.write("cardquota=")
objFile.write(Request("cardquota"))
objFile.write(" ")
objFile.write("merchantreserved1=")
objFile.write(Request("merchantreserved1"))
objFile.write(" ")
objFile.write("merchantreserved2=")
objFile.write(Request("merchantreserved2"))
objFile.write(" ")
objFile.write("merchantreserved3=")
objFile.write(Request("merchantreserved3"))
objFile.write(" ")
objFile.writeline("log finish")
objFile.close
%>
위의 코드는 ASP 이구요,, 리턴값이라는군요...
궁금한게 PG사에서 결제후 넘어오는 값을 MS-SQL에 저장하려고 합니다.
어떻게 해야 할까요....