Re: Re: [PHPLIB] input type file: oohforms From: Kristian Koehntopp (kris <email protected>)
Date: 11/08/99

On Mon, Nov 08, 1999 at 01:31:22PM -0500, Bob Strouper wrote:
> Thanks for your responce.

You are talking to phplib <email protected> The mailing list has
moved. Please use the new address, phplib <email protected>
instead.

> Here is a scenareo. You have a form page
> ( generated with oohforms )and this page has
> thirty form elements on it and 10 of those
> elements are type="file".

This is very, very bad. Upon form submission not only the
filenames, but the actual file contents are uploaded. If the
form submission fails for some reason (any reason), all 10 files
have been uploaded to the server for nothing. You should either
accept and save these files and disable the file upload elements
in the redisplay phase or seperate the file upload page from the
rest of the form.

> But in this situation ALL FILE FIELD VALUES ARE LOST.

This is a browser security feature. Nothing can be done about
that.

Kristian

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.