> The standard MAX_FILE_SIZE upload feature isn't supported in firefox. After a bit of searching and testing I have to disagree that this is a /standard/ feature. Opera and IE certainly don't support it. It isn't mentioned in HTML spec. In fact on searching the only reference I can find to MAX_FILE_SIZE is in reference to the php manual, or forums with people asking why they can't get the feature to work.
Still, it would be a good feature.
The extensions to file inputs proposed in Web Forms 2.0 seem more sensible and powerful. WONTFIX?
The standard way to do this is using maxlength in the near future: <http://whatwg.org/specs/web-forms/current-work/#maxlength> Mozilla is probably going to support that eventually.
12 years ago
Just to add, looking at http://uk.php.net/manual/en/features.file-upload.errors.php, it seems php expects to be able to give you an error code if your file is larger than the MAX_FILE_SIZE. To me this says that php isnt expecting your browser to not submit when the file is too big, but rather it's doing the check itself, so this shouldnt be something we put in the browser.
I set this on WONTFIX because the comments state that it is not a standard and it will soon be possible to do this with the maxlength attribute. Thank you for your input. /The person who filed this bug