Comment 1 for bug 547505

Revision history for this message
Nigel-catalyst (nigel-catalyst) wrote :

The former is a good idea. The latter is actually hard for PHP - if the file uploaded is too big, your script often isn't executed at all (the actual behaviour depends on whether you violate upload_max_filesize or post_max_size). But we can have a play with this and see if the behaviour can be made better.

Sadly, btw, we can't detect the filesize on the client, for javascript security reasons.