Click to See Complete Forum and Search --> : Request.Form problem!


joecool2005
05-29-2006, 08:23 AM
Hi,

I want to upload a form.

When I use the tag form like this

<FORM NAME="uploadForm" METHOD="POST" ENCTYPE="multipart/form-data"
ACTION="progress_upload.asp " OnSubmit="return checkKey()" >

The ENCTYPE="multipart/form-data" don't allow to use Request.Form.

Is there other way to get your data?

chrismartz
05-29-2006, 11:06 AM
Use Uploader.Form("")

russell
05-29-2006, 06:03 PM
Of course, Chris is expecting that u know what that means...It's a 3rd party component. If you are trying to upload a file, then you need to do a Request.BinaryRead which is mutually exclusive with Request.Form -- meaning that you can't do both in one script. ASPUpload is a component you can purchase, or you can do it in ASP yourself with BinaryRead...

If you are not uploading files, then take out the multipart stuff from your form tag