Forums
This topic is locked
Upload multiple images
20 Sep 2004 22:08:02 Wim Conix posted:
Hi, I have a multi-upload (6) page, combined with Smart Image Processor.I have removed the insert record behaviour, since this only adds one record to the database.
I sent after resizing to a second page, where I want to execute the INSERT of all 6 images in the database. This most likely by Commands. I try to send variables of the formfields, but this seems not to work with the ASP Pure Upload extension, which only uses the POST method.
Is there a way to retrieve the parameters sent with the first page or send them in the first place ?
I tried this with hidden fields, Request.Form as well as Session variables, but nothing works.
Any ideas or other suggestions to succeed ?
Many thanks,
Danny Brison
Replies
Replied 21 Sep 2004 12:50:49
21 Sep 2004 12:50:49 Rene Bandsma replied:
I had almost the same problem. Take a look at this: www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=3798
It helped me to solve the problems.
It helped me to solve the problems.
Replied 23 Sep 2004 20:33:22
23 Sep 2004 20:33:22 Wim Conix replied:
Thanks Bandsma,
I'll try it out and let you know.
Wim
I'll try it out and let you know.
Wim
Replied 23 Sep 2004 22:11:31
23 Sep 2004 22:11:31 Wim Conix replied:
Hi,
Can I use something like this :
<%
IF (CStr(Request.QueryString("GP_upload") <> "" THEN
Response.Redirect "upload_6_OK.asp?author=" & UploadFormRequest("author"&gallery=" & UploadFormRequest("gallery"&file=" & UploadFormRequest("file"&file2=" & UploadFormRequest("file2"&file3=" & UploadFormRequest("file3"&file4=" & UploadFormRequest("file4"&file5=" & UploadFormRequest("file5"&file6=" & UploadFormRequest("file6"&caption=" & UploadFormRequest("caption"&keywords=" & UploadFormRequest("keywords"
END IF
%>
Tried it, but does not work.
I really need to send more than one parameter. These will be used for the INSERT TO commands on the second page.
I have the impression that my upload_6.asp page doesn't send any parameter at all.
I'm not succeeding in retrieving them in the second page.
Help help, maybe someone can give me an example on how to send multiple files AND store them in the database.
Any help appreciated,
Wim
Can I use something like this :
<%
IF (CStr(Request.QueryString("GP_upload") <> "" THEN
Response.Redirect "upload_6_OK.asp?author=" & UploadFormRequest("author"&gallery=" & UploadFormRequest("gallery"&file=" & UploadFormRequest("file"&file2=" & UploadFormRequest("file2"&file3=" & UploadFormRequest("file3"&file4=" & UploadFormRequest("file4"&file5=" & UploadFormRequest("file5"&file6=" & UploadFormRequest("file6"&caption=" & UploadFormRequest("caption"&keywords=" & UploadFormRequest("keywords"
END IF
%>
Tried it, but does not work.
I really need to send more than one parameter. These will be used for the INSERT TO commands on the second page.
I have the impression that my upload_6.asp page doesn't send any parameter at all.
I'm not succeeding in retrieving them in the second page.
Help help, maybe someone can give me an example on how to send multiple files AND store them in the database.
Any help appreciated,
Wim