´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • ¹®Èñö / 2000-07-18 / ¿ÀÀü 10:55:28 / 211.51.20.130
    Á¶È¸¼ö : 148
    [Áú¹®] 俵´Ô »çÀÌÆ®°¶·°½Ã ¼öÁ¤ÀÌ ¾ÆÁ÷µµ ¾ÈµÇ¿©
    ¾Æ¹«¸® Çصµ ¼öÁ¤ÀÌ ¾ÈµÇ°í ÀÖ½¿´Ù.¾îÄÉ Çϸé ÁÁÀºÁö¿ä.
    ÀÌ°÷ Àú°÷¿¡ ÀÚ¹®À» ±¸Çߴµ¥,¸ðµç ¹æ¹ýÀÌ ¾ÈµÇ°í Àֳ׿ä.
    ¼Ò½º Á» ºÁ ÁÖ¼¼¿ä...ÀÌ°Å ºÙµé°í 2ÁÖ° Çì¸Þ°í ÀÖ½¿´Ï´Ù.ÀÛ¼ºÇÑ »ç¶÷ÀÇ Æнº¿öµå¸¦ üũÇؼ­ ¾÷µ¥ÀÌÆ®¸¦ ½ÃÄÑ¾ß Çϴµ¥,³Ñ Èûµé±º¿ä.
    ÇöÀçÀÇ ¿¡·¯´Â vbscript¿¡·¯°¡ ¶¸°Åµç¿ä.
    ¿¡·¯¸Þ¼¼Áö========
    Microsoft VBScript ·±Å¸ÀÓ ¿À·ù error '800a000d'

    Çü½ÄÀÌ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù

    /sellup/sellupedit_ok.asp, line 11

    Àüü¼Ò½º===========================



    <%
    set uploadform = server.CreateObject"SiteGalaxyUpload.Form")
    SQL = "SELECT pwd From sell WHERE board_idx = "& UploadForm("idx")===>¿¡·¯¶óÀÎ
    'response.write request.form("idx")

    '¾ÆÀ̵ð üũ
    'idx = Cint(Uploadform("idx"))
    'SQL = "Select pwd From sell where board_idx="& idx

    set uploadform = Server.CreateObject("SiteGalaxyUpload.Form")
    'board_idx = UploadForm("board_idx")
    brandname =UploadForm("brandname")
    product = UploadForm("product")
    t_short = UploadForm("t_short")
    mcode = UploadForm("mcode")
    country = UploadForm("country")
    specification = UploadForm("specification")
    company = UploadForm("company")
    contactperson = UploadForm("contactperson")
    addre = UploadForm("addre")
    tel = UploadForm("tel")
    fax = UploadForm("fax")
    url = UploadForm("url")
    email = UploadForm("email")
    payment = UploadForm("payment")
    packing = UploadForm("packing")
    fob = UploadForm("fob")
    markets = UploadForm("markets")
    filename=UploadForm("filename")
    filesize=UploadForm("filesize")


    If Len(file) & 0 then
    '¼öÁ¤½Ã ±âÁ¸ È­ÀÏÀÌ ÀÖ´Ù¸é....
    Set FSO = CreateObject("Scripting.FileSystemObject")
    strDirectory ="C:\Inetpub\wwwroot\new_itrademall\sellup\data\"

    delfile=strDirectory&filename
    fso.DeleteFile(delfile) '¾÷·Îµå È­ÀÏÀ» Áö¿î´Ù...

    '¾øÀ» °æ¿ì »õ·Î¿î È­ÀÏ ¾÷·Îµå
    attach_file = UploadForm("AttachImage").FilePath
    FileSize = UploadForm("AttachImage").Size
    FileName = Mid(attach_file,InstrRev(attach_file, "\") + 1)
    strName = Mid(FileName, 1, Instr(FileName,".") - 1)
    strExt = Mid(FileName, Instr(FileName, ".") + 1)
    bExist = True
    strFileName = strDirectory & strName & "." & strExt
    countFileName = 0
    Do While bExist
    If (FSO.FileExists(strFileName)) Then
    countFileName = countFileName & countFileName & "." & strExt
    strFileName = strDirectory & FileName
    Else
    bExist = False
    End If
    Loop
    UploadForm("AttachImage").SaveAs strfilename
    'È­ÀÏÀ» ¾÷·ÎµåÇÑ´Ù..ÁøÂ¥·ç
    end if


    wdate=now()
    'Response.Write wdate


    'ÇöÀçÀÇ ±ÛÀÇ ºñ¹Ð¹øÈ£¸¦ °¡Á®¿À´Â Äõ¸®¹®À» ÀÛ¼º
    'SQL = "Select pwd from sell where board_idx = " & UploadForm("idx")

    'set result = db.execute(SQL)
    'pwd=result("pwd")
    'Set db = Nothing
    'ÀԷ¹ÞÀº ºñ¹Ð¹øÈ£¿Í ½ÇÁ¦ ºñ¹Ð¹øÈ£¸¦ ºñ±³ÇÏ¿© ÀÏÄ¡ÇÑ´Ù¸é
    'if request("pwd") = pwd then


    'Æнº¿öµå üũ ¹®
    SQl = "select pwd from pds where board_idx = " & idx
    'ÇØ´ç±ÛÀÇ Æнº¿öµå¸¦ üũÇÑ´Ù.

    Set rs = db.execute(SQL)
    pwd = rs(0)
    Set rs = nothing




    Set db = Server.CreateObject("ADODB.Connection")
    db.Open("sell1")
    SQL = "UPDATE SELL set name = '" & name &"'"
    SQL = SQL & ",email = '" & email & "'"
    SQL = SQL & ",url= '" & url & "'"
    SQL = SQL & ",payment='" & payment & "'"
    SQL = SQL & ",company='" & company & "'"
    SQL = SQL & ",country='" & country & "'"
    SQL = SQL & ",t_short='" & t_short & "'"
    SQL = SQL & ",mcode='" & mcode & "'"
    SQL = SQL & ",productt='" & product & "'"
    SQL = SQL & ",brandname='" & brandname & "'"
    SQL = SQL & ",addre='" & addre & "'"
    SQL = SQL & ",tel='" & tel & "'"
    SQL = SQL & ",fax='" & fax & "'"
    SQL = SQL & ",specification='" & specification & "'"
    SQL = SQL & ",filename='" & filename & "'"
    SQL = SQL & " where board_idx = "& board_idx("idx")

    SQL = SQL & " where board_idx = "& Uploadform("idx")
    db.execute SQL
    Set db = Nothing
    Response.Redirect "selluplist.asp"
    'µ¥ÀÌÅͺ£À̽º¿¡ ÇöÀçÀÇ ·¹Äڵ带 updateÇÏ°í ¸®½ºÆ®·Î µ¹¾Æ°£´Ù.

    'else

    %>




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