최초커밋

This commit is contained in:
2025-09-29 17:55:08 +09:00
parent 90af30c0d0
commit e39813395a
3334 changed files with 338522 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<% @Language="VBScript" CODEPAGE="65001" %>
<%
imgData = Request("imgdata")
ntsNum = Request("ntsnum")
filepath = "/UpLoad/DOC_ATTACH/tax/" & ntsNum & "_img.jpg"
Set CAPIUtil = Server.CreateObject("CAPICOM.Utilities")
strEncoded = imgdata
Set Stream = Server.CreateObject("ADODB.Stream")
strDecoded = CAPIUtil.Base64Decode(strEncoded) '디코딩.
strFile2 = CAPIUtil.BinaryStringToByteArray(strDecoded) 'ByteArry로 변환
Stream.Type = 1
Stream.Open
Stream.Write strFile2
Stream.SaveToFile Server.MapPath(filepath), 2
Stream.Close
Set Stream = nothing
Response.Write filepath
%>