Wojtek Kocjan
[EMAIL PROTECTED]
On 20 Jun 2001, David N. Welton wrote:
> Ok... there is a big question here:
> It's possible to upload two files with the same variable name. Do we
> want to handle this? Any ideas how? It's even more of a pain in the
> ass than variables, because every file has several pieces of
> information associated with it.
I can't think of a situation where I'd need such a feature. I've been
using forms in sometimes very sick ways ie submit button's name being a
"command" (ie. b_goto_main will do a headers redirect after storing stuff
in SQL :-). The only logical situation is where the name actually
represents some logical action to take or similar use...
I'm not sure if the 'upload' API should be made a bit messy with uploads
with the same name...
> The easiest thing is to do like PHP and say "ok, just don't do that".
> It makes a lot of things easier.
Hell, that's not a good way... ;-)
Our variables way is somehow based on AOLserver's, but AOL's methods for
uploading files are way too easy to be used, at least with me.
> If people don't want to go the easy route, I'd like to hear what kind
> of API you would like to see.
Actually no idea here. The only thing I came up with is the -all flag in
every method, but this makes little sense...
--
Wojtek Kocjan
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]