第二個:0 then select case Uprequest.form("file_Err") case 1:str=" 上傳不成功!檔案超過"&uploadsize&"k [
重新上傳
]" case 2:str=" 上傳不成功!檔案格式不對 [
重新上傳
]" case 3:str=" 上傳不成功!檔案太大且格式不對 [
重新上傳
]" end select response.write str else response.write "" response.write ""size=Uprequest.Form("file_size")showsize=size & " Byte" if size>1024 then size=(size\1024) showsize=size & " KB" end if if size>1024 then size=(size/1024) showsize=formatnumber(size,2) & " MB" end if response.write "" response.write " 檔案上傳成功 [
重新上傳
]" end ifSet Uprequest=nothingend ifresponse.write ""end sub%>
2個檔案第一個檔案:
第二個:0 then select case Uprequest.form("file_Err") case 1:str=" 上傳不成功!檔案超過"&uploadsize&"k [重新上傳
]" case 2:str=" 上傳不成功!檔案格式不對 [重新上傳
]" case 3:str=" 上傳不成功!檔案太大且格式不對 [重新上傳
]" end select response.write str else response.write "" response.write ""size=Uprequest.Form("file_size")showsize=size & " Byte" if size>1024 then size=(size\1024) showsize=size & " KB" end if if size>1024 then size=(size/1024) showsize=formatnumber(size,2) & " MB" end if response.write "" response.write " 檔案上傳成功 [重新上傳
]" end ifSet Uprequest=nothingend ifresponse.write ""end sub%>