On Friday 25 January 2002 13:20, Ronald Tezuka wrote:
> To keep this arguement from going on indefinately one thing I know that I
> haven't seen anyone commenting on is the fact that even if MAX_FILE_SIZE is
> optional, the HIDDEN element is not optional.  Somewhere on those PHP pages
> it says that you need to have one hidden element.  MAX_FILE_SIZE is the
> recommended one.  If you don't want to limit yourself, then just set a huge
> MAX_FILE_SIZE limit.  On second thought that might be HTML protocol, but
> either way you still need that one hidden element.  Just put it in and that
> should get rid of a couple headaches.

I don't know where you get the HIDDEN element from -- do you have the 
relevant source? I just use something simple like:

<form name="upload" enctype="multipart/form-data" action="repository.php" 
  Upload file
  <input type="file" name="file">
  <input type="submit" name="action" value="Upload">

which works fine for me!

Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

Love means nothing to a tennis player.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to