´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • µ¹¸ÍÀÌ / 2001-10-05 / ¿ÀÀü 10:08:37 / 203.234.144.16
    Á¶È¸¼ö : 127
    [Áú¹®] °³ÀÎÁ¤º¸¼öÁ¤¿¡¼­ ¹ú·¹ Á» Àâ¾ÆÁÖ¼¼¿ä.
    ³¯¾¾°¡ ¹«Ã´À̳ª ½Î´ÃÇÕ´Ï´Ù.
    °í¼ö´ÔµéÀÇ ÁöÀû ºÎŹÇÕ´Ï´Ù.

    [mem_login.asp]
    ID ¿Í PW¸¦ ÀÔ·ÂÇÏ°í

    [login_ok.asp]
    ·Î±×ÀÎÀ» ó¸®ÇÏ¿©

    [default.asp]
    ¿©±â¼­ Á¢¼ÓÀ» ¾Ë·Á ÁÝ´Ï´Ù.
    <font size="2"><%=session("uid")%></B> ´Ô!</font>
    .....ȯ¿µÇÕ´Ï´Ù.

    ±×·±´ÙÀ½ °³ÀÎÁ¤º¸¼öÁ¤À» Ŭ¸¯ÇÒ·Á°í Çϴµ¥ ¿©±â¼­ ¿¡·¯¹ß»ý

    ±âÁ¸¿¡ ÀÖ´ø [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]

    <!-------------------¿©±âºÎÅÍ login form½ÃÀÛ ----------------------->
    <% logid = Request.QueryString("num") %> ====== 1 line ===========
    .....
    <form action="login_next.asp?num=<%=logid%>" name="login" method="post">
    <table width="206" cellspacing="0" cellpadding="0" border="0">


    [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
    %>
    <script language="javascript">
    <!--
    alert("Ç׸ñÁß ºü¶ß¸° °ÍÀÌ ÀÖ½À´Ï´Ù.");
    history.back();
    //-->
    </script>
    <%
    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
    %>
    <script language="javascript">
    <!--
    alert("Á¸ÀçÇÏÁö ¾Ê´Â ȸ¿ø IDÀÔ´Ï´Ù.");
    history.back();
    //-->
    </script>
    <%
    Response.End
    Else
    uid = Rs(0)
    pwd = Rs(1)

    If pwd <> pass_wd then
    %>
    <script language="javascript">
    <!--
    alert("ºñ¹Ð¹øÈ£°¡ Ʋ¸³´Ï´Ù.");
    history.back();
    //-->
    </script>
    <%
    Response.End
    End if
    End if

    response.cookies("user_id") = uid

    Select Case num
    Case "a"
    urlPath = "modify.asp?uid="+uid
    %>
    <script language=javascript>
    opener.parent.right.location.replace("<%=urlPath%>") ;
    self.close();
    </script>
    <%
    Case "b"
    urlPath = "right_member3.asp?uid="+uid
    %>
    <script language=javascript>
    opener.parent.right.location.replace("<%=urlPath%>") ;
    self.close();
    </script>
    <%
    Case "c"
    urlPath = "right_member3.asp?uid="+uid
    %>
    <script language=javascript>
    opener.opener.parent.right.location.replace("<%=urlPath%>") ;
    opener.window.close();
    self.close();
    </script>
    <%
    Case "d"
    urlPath = "../menu9.html"
    %>
    <script language=javascript>
    opener.opener.parent.location.replace("<%=urlPath%>") ;
    opener.window.close();
    self.close();
    </script>

    <%
    Case "f"
    urlPath = ""
    %>
    <script language=javascript>
    self.close();
    </script>

    <%
    Case Else
    urlPath = "../main.asp"
    End Select
    %>


    ¿øÀÎ Á» °¡¸£ÃÄ ÁÖ¼¼¿ä.




    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :