´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
¼öÁ¤ÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
°øÁö»çÇ×
ºñ°ø°³
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
[login.asp] <% logid = Request.QueryString("num") %> ......
º» ¼ºñ½º´Â ·Î±×ÀÎÀ» ÇϽŠÈÄ ÀÌ¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
ȸ¿øÀÌ ¾Æ´Ï½Å ºÐÀº ¹«·á
ȸ¿ø °¡ÀÔ
ÈÄ ¹Ù·Î ÀÌ¿ë °¡´É ÇÕ´Ï´Ù.
(¿¡·¯ºÎºÐ ¿¡·¯ºÎºÐ ¿¡·¯ºÎºÐ ¿¡·¯ºÎºÐ)
ID
ºñ¹Ð¹øÈ£
[login_next.asp] <% Response.Buffer = true uid = Request.Form("uid") pass_wd = Request.Form("passwd") num = Request.QueryString("num") 'Response.Write uid &"
" 'Response.Write pass_wd &"
" 'Response.Write 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 %> num°ªÀÌ ³Ñ¾î¿ÀÁú ¾Ê³×¿ä..... login.asp ¿Í login_next.asp´Â ±âÁ¸¿¡ ÀÖ´ø ÆÄÀÏ·Î ÀÚü¿¡¼´Â ½ÇÇà°¡´ÉÇÕ´Ï´Ù. ±×·±µ¥ ¿©±â¼ updateÇϱâ À§ÇØ Á¢¼ÓÀÚ ¼±ÅûçÇ×À» µÎ±â À§Çؼ ´Ù¸¥ ÆÄÀÏÀ» Ãß°¡Ç޴µ¥ ¿©±â¼ ´Ù¸¥°ÍÀº ´ÙµÇ´Âµ¥ ´ÜÁö ¸µÅ©½ÃÄ×´Ù´Â ÀÌÀ¯·Î °¡µ¿(?)ÀÌ ¾ÈµÇ³×¿ä. ¿øÀÎ Á» Àâ¾Æ ÁÖ¼¼¿ä.
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*