´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • Áú¹®ÀÌ¿ä / 2001-09-26 / ¿ÀÀü 3:23:05 / 211.110.89.62
    Á¶È¸¼ö : 146
    [Áú¹®] Áú¹®ÀÔ´Ï´Ù...¿À·ù
    Microsoft VBScript ·±Å¸ÀÓ ¿À·ù (0x800A000D)
    Çü½ÄÀÌ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù
    /mdmusic/update_ok.asp, line 44
    -------------------------------------------
    file = UploadForm("music")

    attach_file = file.FilePath
    filename = Mid(attach_file, InstrRev(attach_file, "\") + 1) ' ÆÄÀϸíÀ» ¾ò´Â´Ù.
    filetype = right(FileName,4)
    save_music = music_folder & "\" & filename ' ÀúÀåÇÒ ÆÄÀÏÀÇ °æ·Î ¼³Á¤
    db_music = filename 'µðºñ¿¡ ÀúÀåµÇ´Â À̸§
    If (FSO.FileExists(save_music)) Then ' °°Àº À̸§ÀÇ ÆÄÀÏÀÌ ÀÖÀ» ¶§ »èÁ¦
    count = 0
    do while FSO.FileExists(save_music)
    count = count + 1
    save_music = music_folder & "\" & CStr(count) & filename
    db_music = CStr(count) & filename 'µðºñ¿¡ ÀúÀåµÇ´Â ¹Ù²î´Â À̸§
    Loop
    End If
    File.SaveAs save_music ' ÆÄÀÏÀ» ¾÷·Îµå

    Set FSO = Nothing
    %>
    <-----¿©±â°¡ ¶óÀÎ 44Àӵ¤ѤÑ;
    <%
    title = UploadForm("title")
    title = replace(title,"'","''")
    music_time = UploadForm("minute")*60 + UploadForm("second")
    category = UploadForm("category")
    category = replace(category,"'","''")
    new_category = UploadForm("new_category")
    new_category = replace(new_category,"'","''")
    page = UploadForm("page")
    music_name = replace(db_music,"'","''")

    if category = "" then
    category = new_category
    end if

    db.Open DSNName

    Sql = "insert into music (title,music,music_time,category,date) values ("

    Sql = Sql & "'" & title & "',"
    Sql = Sql & "'" & music_name & "',"
    Sql = Sql & music_time & ","
    Sql = Sql & "'" & category & "', GetDate())"
    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :