|
|
|
ûÇæÔñýѨ / 2002-05-06 / ¿ÀÀü 10:33:15 / 203.255.3.190
Á¶È¸¼ö : 187
|
[Áú¹®] ±ä±Þ µµ¿ÍÁÖ¼¼¿ä... ¿¡·¯°¡...x); |
> ¿À·ù Çü½Ä:
> Microsoft VBScript ·±Å¸ÀÓ ¿À·ù (0x800A01B6)
> °³Ã¼°¡ ÀÌ ¼Ó¼º ¶Ç´Â ¸Þ¼µå¸¦ Áö¿øÇÏÁö ¾Ê½À´Ï´Ù.: 'open'
> /user/support/data/data_03.asp, line 11
>
>
> ºê¶ó¿ìÀú Çü½Ä:
> Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
>
> ÆäÀÌÁö:
> POST 35893 bytes to /user/support/data/data_03.asp
>
> POST Data:
> error '80020009'
> ¿¹¿Ü ¿À·ù°¡ ¹ß»ýÇß½À´Ï´Ù.
>
> -¼Ò½º-
>
> <!-- #include file = ../../include_top.htm -->
> <!-- #include file = ../include_support.htm -->
> <!-- #include file = ../../../inc/dbopen.asp -->
> <!-- #include file= ../../../inc/conv.asp -->
>
> <%
> writeday = now()
> ip = request.servervariables("remote_addr")
>
> set xup = server.createobject("updownexpress.fileupload")
> xup.open
>
> email = xup.items("email")
> email = trim(replace(email,"'","''"))
>
> home = xup.items("home")
> home = trim(replace(home,"'","''"))
>
> title = xup.items("title")
> title = trim(replace(title,"'","''"))
> if title = "" then
> session("message") = "Á¦¸ñÀ» ÀÔ·ÂÇØ ÁֽʽÿÀ."
> response.redirect "../message.asp"
> end if
>
> content = xup.items("content")
> content = trim(content)
> if content = "" then
> session("message") = "³»¿ëÀ» ÀÔ·ÂÇØ ÁֽʽÿÀ."
> response.redirect "../message.asp"
> end if
>
> pwd = xup.items("pwd")
> pwd = trim(pwd)
> if pwd = "" then
> session("message") = "ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁֽʽÿÀ."
> response.redirect = "../message.asp"
> end if
>
> if xup.isitem("h_check") = 1 then
> h_check = xup.items("h_check")
> end if
>
> if h_check <> "1" then
> h_check = "2"
> end if
>
> if h_check = "1" then
> content = checkword(content)
> else
> content = checkword1(content)
> end if
>
> filename=""
> for each xattach in xup.attachments
> filename = xattach.filename
> xattach.savefile "./down/" & filename
> next
>
> xup.close
> set xup = nothing
>
>
> sql = "select max(no) from databoard01"
>
> set rs = server.createobject("adodb.recordset")
> rs.open sql, dbcon2
>
> if isnull(rs(0)) then
> number = 1
> else
> number = rs(0) + 1
> end if
>
> rs.close
> set rs = nothing
>
> ref = number
> re_step = 0
> re_level = 0
>
> if filename = "" then
> sql = "insert into databoard01 (no, id, name, email, home, title, content, h_check, pwd, writeday, readnum, ip, ref, re_step, re_level) values"
> sql = sql & "("&number&""
> sql = sql & ",'"&session("id")&"'"
> sql = sql & ",'"&session("name")&"'"
> sql = sql & ",'"&email&"'"
> sql = sql & ",'"&home&"'"
> sql = sql & ",'"&title&"'"
> sql = sql & ",'"&content&"'"
> sql = sql & ",'"&h_check&"'"
> sql = sql & ",'"&pwd&"'"
> sql = sql & ",'"&writeday&"'"
> sql = sql & ", 0 "
> sql = sql & ",'"&ip&"'"
> sql = sql & ",'"&ref&"'"
> sql = sql & ",'"&re_step&"'"
> sql = sql & ",'"&re_level&"')"
>
> else
> sql = "insert into databoard01 (no, id, name, email, home, title, content, up_file, h_check, pwd, writeday, readnum, ip, ref, re_step, re_level) values"
> sql = sql & "("&number&""
> sql = sql & ",'"&session("id")&"'"
> sql = sql & ",'"&session("name")&"'"
> sql = sql & ",'"&email&"'"
> sql = sql & ",'"&home&"'"
> sql = sql & ",'"&title&"'"
> sql = sql & ",'"&content&"'"
> sql = sql & ",'"&filename&"'"
> sql = sql & ",'"&h_check&"'"
> sql = sql & ",'"&pwd&"'"
> sql = sql & ",'"&writeday&"'"
> sql = sql & ", 0 "
> sql = sql & ",'"&ip&"'"
> sql = sql & ",'"&ref&"'"
> sql = sql & ",'"&re_step&"'"
> sql = sql & ",'"&re_level&"')"
>
> end if
>
> dbcon2.execute(sql)
>
> dbcon2.close
> set dbcon2= nothing
>
> response.redirect "data_01.asp"
>
> %>
>
-----------------------------------------------------------
¿¹¿Ü¿À·ù¶õ »ç½Ç ¿øÀÎÀ» ã±â°¡ ¾î·Æ½À´Ï´Ù.
ÄÄÆ÷³ÍÆ®¿¡ ¹®Á¦°¡ ÀÖ´ÂÁö ¾Æ´ÑÁö ¾Ë¾Æ º¸±â À§Çؼ¿ä...
ÀÏ´Ü xup.open ÀÌÈÄÀÇ ¸ðµç ¼Ò½º¸¦ ´Ù Áö¿ì°í ½ÇÇàÀ» ÇØ º¸¼¼¿ä...
±×¸®°í Á¦°¡ Å×½ºÆ® ÇØ º» °á°ú updownexpress ÄÄÆ÷³ÍÆ®°¡ ½Ã½ºÅÛ¿¡ ¿µÇâÀ» ¸¹ÀÌ ¹Þ´Â°Í °°´õ±º¿ä...
°¡²û¾¿ ¿¡·¯¸¦ ¹ß»ýÇÏ´õ¶ó±¸¿ä....
´Ù¸¥ ÄÄÆ÷³ÍÆ®¸¦ °í·ÁÇØ º¸´Â°Íµµ ÁÁÀº ÇØ°áÃ¥Àϵí ÇÕ´Ï´Ù.
|
|
|
|