Thank you.
I can upload images into the Dynamic Folder.
But now, I can't insert the data into the database.........
I don't know why, I success before in the old version.......
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><!--#include file="../Connections/Void.asp" --> <!--#include file="../dwzMultipleUpload/ASPUpload.asp" --><% '**************************** ' http://www.DwZone-it.com ' MultipleFileUpload HTML 5 ' Version 1.2.33 '**************************** Set dwzUpload = New dwzASPUpload dwzUpload.UploadType = "HTML5" dwzUpload.Instance = "1" dwzUpload.ExtraInfo = "Bootstrap,Default|_|5400|_|true,80,80|_|800,550|_|false|_|form1@__@mainid@__@hidden|_|utf-8" dwzUpload.RedirectUrl = "RD.asp" dwzUpload.Path = "Server.Mappath(@_apex_@files/@_apex_@ & Request.form(@_apex_@mainid@_apex_@))|_|3" dwzUpload.TempPath = "files/|_|1" dwzUpload.TestEnvironment() dwzUpload.Init() dwzUpload.rootPath = "../" dwzUpload.Texts = "Add files...|_|Start upload|_|Cancel upload|_|Start|_|Cancel|_|Delete|_|Your browser does not support drag'n'd_r_o_p file uploads.|_|Please use the fallback form below to upload your files.|_|Invalid file type. Allowed file type: {{FilesType}}|_|The size of the file is {{filesize}}Mb but the max allowed file size is {{maxFilesize}}Mb|_|Connection error status code {{statusCode}}|_|Confirm remove the selected file.|_|The file cannot be uploaded. Cause file number limit.|_|Upload completed." dwzUpload.OverwriteMode = "1" dwzUpload.AllowedExtensions = "" dwzUpload.AllowedExtensionsDescription = "" dwzUpload.Sizes = "0,0,0" dwzUpload.InsertParameters = "0|_||_||_||_|0|_||_||_||_||_||_||_||_||_||_||_|" & MM_Void_STRING dwzUpload.ResizeParameters = "0|_|1|_|3000|_|1000|_|80|_|1|_|1|_|450|_|150|_|80|_|1|_|_small|_|2|_|0|_||_||_|80|_|1|_|_s|_|2" if dwzUpload.IsPostBack() then dwzUpload.Upload() dwzUpload.Save() end if '**************************** ' MultipleFileUpload HTML 5 '**************************** %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<% '**************************** ' MultipleFileUpload HTML5 '**************************** dwzUpload.JsIncludes() '**************************** ' MultipleFileUpload HTML5 '**************************** %><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>photo upload</title> </head>
<body> <div align="center"> <p><a href="pa_admin.asp?mainid=<%= Request.Form("mainid") %>">back</a>
</p> <% '**************************** ' MultipleFileUpload HTML5 '**************************** dwzUpload.DomConstructor() '**************************** ' MultipleFileUpload HTML5 '**************************** %> </div> <form id="form1" name="form1" method="post" action=""> <input name="mainid" type="hidden" id="mainid" value="<%= Request.Form("mainid") %>" /> </form> </body> </html><% '**************************** ' MultipleFileUpload HTML5 '**************************** Set dwzUpload = nothing '**************************** ' MultipleFileUpload HTML5 '**************************** %>
|
|
|