Ho riprovato ma non funziona, inserendo il codice all'inizio della pagina non ricevo nulla:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% response.write request.form response.end %> <table border="1" cellspacing="0" cellpadding="3"> <tr> <td>File Name</td> <td>File Size (byte)</td> <td align="center">Upload Status</td> <td align="center">Renamed</td> </tr> <% for J=1 to request("NumFile") %> <tr> <td><%=request("FileName_" & J)%></td> <td><%=request("FileSize_" & J)%></td> <td align="center"><%=getFileStatus(request("FileStatus_" & J))%></td> <td align="center"><%=getNewFileName(request("NewFileName_" & J))%></td> </tr> <% next %> </table>
<% function getFileStatus(status) select case status case "0" getFileStatus = "File saved" case "1" getFileStatus = "File size exceed" case "2" getFileStatus = "File extension not allowed" case "3" getFileStatus = "File size exceed and<br>File extension not allowed" case "4" getFileStatus = "File exist" end select end function function getNewFileName(opt) if opt = "0" then getNewFileName = "No" elseif opt = "-1" then getNewFileName = "Yes" end if end function
%>
|
|
|