RE: [PHP] File upload problem
| From: | David Freeman | Date: | Tue, 07 May 2002 11:09:09 +0000 |
| Subject: | RE: [PHP] File upload problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96395@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> Hmm, after a bit of testing I find that the MAX_FILE_SIZE
> tag is useless to say the least (probably because no browsers support
it?)
That's somewhat of a shame I guess but I can hardly claim to be
surprised - especially as I've just spent much of my time in the last
couple of days wrestling with browser rendering compatibility issues for
a client's web site - from which my only significant conclusion was that
Netscape sucks.
> 1) you still have to wait for the whole 5MB to be uploaded
> 2) php sees the MAX_FILE_SIZE setting is exceeded then
> discards the file
An opportunity to do something lost - although I guess you might be able
to do some javascripting to achieve the same. But then, that wouldn't
require you to have the hidden field either.
CYA, Dave