Re: Some questions about file handling + some other things

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On Sat, Mar 20, 2021 at 09:11:12AM -0400, John P. Rouillard wrote:
> >
> >File is not special here. You can have multiple -N items in the form,
> >e.g. to allow the user to add multiple keywords or whatever in a single
> >submit. I'm using this [...]
> 
> I took his statement to mean I could have:
> 
>   <input type="file" name="@file" size="40">
>   <input type="file" name="@file" size="40">
>   <input type="file" name="@file" size="40">
> 
> in a template to upload three files. You are describing:
> 
>   <input type="file" name="@file" size="40">
>   <input type="file" name="@file-1" size="40">
>   <input type="file" name="@file-2" size="40">
> 
> (which I am not quite sure will work wihout some aditional
> code. E.G. is @link@files=file-2 automaticaly added?).

You're right, @file is special, it works fine with normal classes but
@file is magic syntax...

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.