33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
<% @Language='vbscript' codepage='65001'%>
|
|
|
|
<!--METADATA TYPE= "typelib" NAME= "ADODB Type Library" FILE="C:\Program Files\Common Files\SYSTEM\ADO\msado15.dll" -->
|
|
<%
|
|
Option Explicit
|
|
|
|
Response.CharSet="utf-8"
|
|
Session.codepage="65001"
|
|
Response.codepage="65001"
|
|
Response.ContentType="text/html;charset=utf-8"
|
|
|
|
'Survey DB 설정
|
|
Dim SV_NAME,DB_NAME,UID,PWD
|
|
Dim SV_NAME1,DB_NAME1,UID1,PWD1,SV_NAME2,DB_NAME2,UID2,PWD2
|
|
Dim DBconn
|
|
|
|
Dim User_Agent : User_Agent = Request.ServerVariables("HTTP_USER_AGENT") '접속자 브라우저 타입
|
|
Dim PCOLOR : PCOLOR = "#ffffff"
|
|
|
|
Dim ip: ip = Request.ServerVariables("REMOTE_ADDR"): 'Response.Write ip
|
|
Dim DevNode: DevNode = "real"
|
|
'#######################################################################################
|
|
'DB 설정값 Read
|
|
'#######################################################################################
|
|
|
|
SV_NAME2 = "1.235.195.8,20022"
|
|
DB_NAME2= "kon"
|
|
UID2 = "kon"
|
|
PWD2 = "kon#51304"
|
|
%>
|
|
<!-- #include Virtual = "/Lib/DBConn.asp" -->
|
|
<!-- #include Virtual = "/Lib/DBLib.asp" -->
|
|
<!--#include virtual = "/Lib/RSExec.asp" --> |