Hey all,
I have a page that does several things. There is images associated with a case, and the page shows the case and all associated images. Then there is a section where you can add a new image, which the uses "Jacob Gilley's" ASP file uploader.
The thing is, to get the uploading working, you need to have enctype="multipart/form-data" in the form tag, however, the page also has to do other things, such as save the changes to the database, and when I have multipart/form-data the form acts differently (I think) and Request.Form("whatever" returns nothing on the page.
Can anyone tell me of a way to get stuff out of a form in asp that uses multipart/form-data ? Or, alternatively, I tried javascript so that when you click the upload button, it changes the enctype from "" to "multipart/form-data", and when you click the save button changes the enctype to "".
This, however, didn't seem to make a difference.
Thanks in advance for any help.
Damon
I have a page that does several things. There is images associated with a case, and the page shows the case and all associated images. Then there is a section where you can add a new image, which the uses "Jacob Gilley's" ASP file uploader.
The thing is, to get the uploading working, you need to have enctype="multipart/form-data" in the form tag, however, the page also has to do other things, such as save the changes to the database, and when I have multipart/form-data the form acts differently (I think) and Request.Form("whatever" returns nothing on the page.
Can anyone tell me of a way to get stuff out of a form in asp that uses multipart/form-data ? Or, alternatively, I tried javascript so that when you click the upload button, it changes the enctype from "" to "multipart/form-data", and when you click the save button changes the enctype to "".
This, however, didn't seem to make a difference.
Thanks in advance for any help.
Damon