Fleeing from the madness of the 1&1 Internet AG jungle
Benjamin Niemann <EMAIL REMOVED> stumbled into news:alt.
www.webmaster
and said:
> William T***o wrote:
>
>> Greetings one and all
>>
>> I have a page which contains several forms. One/some of these forms is a
>> file upload form which needs the attribute:
>> enctype="multipart/form-data"
>>
>> Is it possible to process all forms using the same script? Normally I'd
>> simply test for the value of the 'submit' button but this is not
>> possible
>> in this situation.
>>
>> FWIW: This is cl***ic ASP/vbScript but I can probably do an inline
>> translate from other environments/languages if there's a solution.
>
> Not sure, if I understand the question correctly...
>
> You could add a hidden field to each form, so the script knows which
> form it
> has to handle.
> You may also add different query strings to the FORMs action (if all
> forms
> use POST).
>
> Most environments should be able to handle the two different enctypes
> transparently, so you probably don't have to worry about this.
Brilliantly obvious - thanks. The querystring did it for me.
dunno why I didn't think of that

--
William T***o
http://williamt***o.com/words/what-is-usenet.asp