|
|
|
|
´À¸²º¸ / 2002-07-26 / ¿ÀÈÄ 3:52:05 / 210.111.101.81
Á¶È¸¼ö : 160
|
[Áú¹®] ¾îµð¿¡ ¾²´Â °É±î¿ä!!!??? |
<%
Set DbCon = Server.CreateObject("ADODB.Connection")
DbCon.Open ("DSN=cm;UID=999;PWD")
'id = ConvertChar(LCase(Request("id")))
'pwd = ConvertChar(LCase(Request("pwd")))
id = Request("id")
pwd = Request("pwd")
if id = "" then
id = cid
end if
if pwd = "" then
pwd = cpwd
end if
SQLString= "SELECT id,pwd,name FROM sangpum WHERE id='" & id & "'"
Set rs1 = DbCon.Execute(SQLString)
CFlag = 0
IF rs1.eof THEN
CFlag = 2
msg = "##### - ÀÎÁõµÈ »ç¿ëÀÚ°¡ ¾Æ´Ï°Å³ª ȤÀº ¾ÏÈ£°¡ Ʋ·È½À´Ï´Ù. ¾ÏÈ£ÀÇ Çü½ÄÀ̳ª CapsLockÅ°µîÀ» È®ÀÎ ÇÏ½Ã°í ¾ÏÈ£¸¦ ´Ù½Ã ÀÔ·Â ÇØ Áֽñ⠹ٶø´Ï´Ù. ´Ù½Ã ¾ÏÈ£¸¦ ÀÔ·Â ÇÏ½Ã°íµµ ¾ÏÈ£°¡ Ʋ¸®½Ã¸é <a href=mailto:webmaster@dom.co.kr><font color=red>webmaster@dom.co.kr</font></a>·Î ¿¬¶ô Áֽñ⠹ٶø´Ï´Ù."
Response.Redirect "error.asp?title=ÀÎÁõ½ÇÆÐ&msg="&msg
END IF
If cid = rs1(0) and cpwd = rs1(1) then
stat = rs1(2)
Else
If Trim(rs1(1)) <> pwd Then
CFlag = 1
msg = "!!!!! - ÀÎÁõµÈ »ç¿ëÀÚ°¡ ¾Æ´Ï°Å³ª ȤÀº ¾ÏÈ£°¡ Ʋ·È½À´Ï´Ù. ¾ÏÈ£ÀÇ Çü½ÄÀ̳ª CapsLockÅ°µîÀ» È®ÀÎ ÇÏ½Ã°í ¾ÏÈ£¸¦ ´Ù½Ã ÀÔ·Â ÇØ Áֽñ⠹ٶø´Ï´Ù. ´Ù½Ã ¾ÏÈ£¸¦ ÀÔ·Â ÇÏ½Ã°íµµ ¾ÏÈ£°¡ Ʋ¸®½Ã¸é <a href=mailto:webmaster@dom.co.kr><font color=red>webmaster@dom.co.kr</font></a>·Î ¿¬¶ô Áֽñ⠹ٶø´Ï´Ù."
Response.Redirect "error.asp?title=ÀÎÁõ½ÇÆÐ&msg="&msg
Else
CFlag = 0
stat = rs1(2)
Session("msg") = "°¨»çÇÕ´Ï´Ù. Á¢¼Ó¿¡ ¼º°øÇϼ̽À´Ï´Ù."
Response.Cookies("id") = id
Response.Cookies("pwd") = pwd
End If
End if
%>
--------------------------------------------------
´õ¿î ³¯¾¾¿¡ °í»ýÀÌ ¸¹À¸½Ã³×¿ä...Áú¹®Á» ÇÏ·Á±¸¿ä
À§¿¡¼ CFlag=0 ÀÌ·±°Ç ¿Ö ÇÊ¿äÇÑ°Ç°¡¿ä...0ÀÌ µÇ¾ú´Ù 2°¡ µÇ¾ú´Ù....20À» Áý¾î ³Ö¾îµµ ¸¶Âù°¡Áö°í, »©µµ º° ÁöÀå ¾ø´Â°Í °°°í...ÀÚ¼¼ÇÑ ¼³¸í ²À ºÎŹµå¸³´Ï´Ù. |
|
|
|