ghell
04-15-2004, 05:45 PM
I am trying to make a form that lets some text be entered or a file be uploaded (3 radio buttons are for none, text, file and that decides weather it is uploaded or reads the text input) the file upload seems to require enctype="multipart/form-data" in the form and this stops request.form from working, so i try to upload using the files from http://www.stardeveloper.com/articles/display.html?article=2001042501&page=1 but this does not explain the code in very much detail which is not very good since its so huge
is there a simple asp tutorial (or one of your snippets) for the code for uploading files (and reading from text inputs in the same form if possible)
hmm, a good example of the sort of form im trying to make is the avatar options on invision boards where you can enter a url or upload a file from the same form (on mine both fields may be entered but only one (or none) is acted on depending on the value of radiobuttons)
is there a simple asp tutorial (or one of your snippets) for the code for uploading files (and reading from text inputs in the same form if possible)
hmm, a good example of the sort of form im trying to make is the avatar options on invision boards where you can enter a url or upload a file from the same form (on mine both fields may be entered but only one (or none) is acted on depending on the value of radiobuttons)