´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • ½ºÄø® / 2000-04-28 / ¿ÀÈÄ 7:40:48 / 210.222.175.173
    Á¶È¸¼ö : 138
    [Áú¹®] ÄíÅ°..³­ ÄíÅ°°¡ ½Ã·Î..y
    <%
    set db = server.createobject("adodb.connection")
    db.open("dsn=member;uid=cs114;pwd=cs114;")

    sql = "select memid, pwd, name, msgcnt from member where memid = '" &
    request("id") & "'"

    set rs = db.execute(sql)

    if (rs.eof or rs.eof) then
    %>

    <%
    else

    if rs("pwd") <> request("pwd") then
    %>


    <%
    else

    session("id") = rs("memid")
    session("name") = rs("name")

    response.cookies("id").expires = #2000-5-30 00:00:00#

    if response.cookies("id").haskeys then
    memid = request.cookies("memid")("id")
    memname = request.cookies("memname")("name")

    response.cookies("memid")("id") = session("id")
    response.cookies("memname")("name") = session("name")

    else

    response.cookies("memid")("id") = session("id")
    response.cookies("memname")("name") = session("name")

    end if


    sqlstr = "select memid from online where memid = '"& session("id") &"'"
    set str = db.execute(sqlstr)

    if not(str.eof or str.bof) then%>

    <%else
    sqlon = "insert into online(memid, timeconn) values"
    sqlon = sqlon&" ('"& session("id") &"'"
    sqlon = sqlon&", '"& now() & "')"
    db.execute sqlon
    %>

    <%
    end if
    end if
    %>
    <%end if%>
    <%
    db.close
    set db = nothing
    %>

    ¼¼¼Çº¯¼ö·Î ÇÏ´Ù°¡ ¾ÈµÇ¼­..
    ÄíÅ°¸¦ ½ÃµµÇغôµ¥..
    ¿À´Ã óÀ½ ÄíÅ°¶ó´Â ³ðÀ»..¸¸³ªºÃÀ½´Ù..
    ÀÌ°Ô Á¤È®ÇÑ°Ç°¡¿ä?
    ±Ùµ¥¿ä..
    ÀÌ·¸°Ô ·Î±äÇÑ ´ã¿¡..
    ±×´ãÆäÀÌÁö main.asp¿¡¼­´Â »õ·Î°íħÀ» ÇØÁÖ¾î¾ß...
    °á°ú°ªÀÌ ³ª¿À´õ±º¿ä..
    ÀÌ´Â ¾îÄÉ ÇØÁà¾ß ÇÏ´ÂÁö¿ä..

    ÄíÅ°°¡ ½¬¿î °Í¸¸Àº ¾Æ´Õ´Ï´Ù..ÈæÈæ...
    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :