On Tuesday 07 May 2002 19:09, David Freeman wrote:
> > -----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
> 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
> require you to have the hidden field either.
Done some more tests. The good news is that it seems that browsers can and do
respect the limits set on the server (php.ini). For example in php.ini I set
the "post_max_size" to 32M then when I upload a 33M file, the browser has a
quick word with the server and ascertains that the file is over the limit and
The bad news is that out of Opera, NN and IE only Opera works properly in
this respect. NN uploads the file then gives "Network Error: Connection reset
by peer". IE uploads the file then gives "Cannot find server, page cannot be
These were quick and dirty tests and should not be taken as gospel.
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
If a man has talent and cannot use it, he has failed.
-- Thomas Wolfe
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php