´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
¼öÁ¤ÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
°øÁö»çÇ×
ºñ°ø°³
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
³¯¾¾°¡ ¹«Ã´À̳ª ½Î´ÃÇÕ´Ï´Ù. °í¼ö´ÔµéÀÇ ÁöÀû ºÎŹÇÕ´Ï´Ù. [mem_login.asp] ID ¿Í PW¸¦ ÀÔ·ÂÇÏ°í [login_ok.asp] ·Î±×ÀÎÀ» ó¸®ÇÏ¿© [default.asp] ¿©±â¼ Á¢¼ÓÀ» ¾Ë·Á ÁÝ´Ï´Ù.
<%=session("uid")%> ´Ô!
.....ȯ¿µÇÕ´Ï´Ù. ±×·±´ÙÀ½ °³ÀÎÁ¤º¸¼öÁ¤À» Ŭ¸¯ÇÒ·Á°í Çϴµ¥ ¿©±â¼ ¿¡·¯¹ß»ý ±âÁ¸¿¡ ÀÖ´ø [login.asp]À» [re_login.asp]·Î ÆÄÀϸíÀ» º¯°æ¿´´Âµ¥ re_login.asp¿¡´Â id/pw/È®ÀÎ/ȸ¿ø°¡ÀÔ ¹Û¿¡ ¾ø½À´Ï´Ù. default.asp¿¡ Á¢¼ÓÇß´ø id·Î ȸ¿ø¼öÁ¤ µé¾î°¡¸é ´Ù½ÃÇѹø ¹¯´Â [re_login.asp] È®Àο¡¼ [login_next.asp]¿¡¼ ³Ñ¾î°¡Áú ¾Ê³×¿ä. ¿¡·¯´Â ºê¶ó¿ìÀú¿¡¼ http://new/sub/login_next.asp?num= ÀÌ ºÎºÐ¸¸ ³ªÅ¸³ª°í ÇÏ´Ü¿¡´Â ¾Æ¹«°Íµµ ¾ø³×¿ä. ¿ì¿Õ ¼¼¼ÇÀ» ¸øÀ⳪ºÁ¿ä.. ¿À´Ã ÀÌ°Å¶óµµ ³¡³»¾ß Çϴµ¥.... [re_login.asp] <% logid = Request.QueryString("num") %> ====== 1 line =========== .....
[login_next.asp] <% Response.Buffer = true uid = Request.Form("uid") pass_wd = Request.Form("passwd") num = Request.QueryString("num") authority = left(num,1) If pass_wd="" or uid="" then %> <% Response.End End if Conn = Application("DBConn") Sql = "SELECT uid, passwd FROM members WHERE uid = '" & uid & "'" Set Rs = Server.CreateObject("ADODB.Recordset") Rs.open sql, Conn, 1 If Rs.EOF then %> <% Response.End Else uid = Rs(0) pwd = Rs(1) If pwd <> pass_wd then %> <% Response.End End if End if response.cookies("user_id") = uid Select Case num Case "a" urlPath = "modify.asp?uid="+uid %> <% Case "b" urlPath = "right_member3.asp?uid="+uid %> <% Case "c" urlPath = "right_member3.asp?uid="+uid %> <% Case "d" urlPath = "../menu9.html" %> <% Case "f" urlPath = "" %> <% Case Else urlPath = "../main.asp" End Select %> ¿øÀÎ Á» °¡¸£ÃÄ ÁÖ¼¼¿ä.
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*