Ben Ramsey wrote:
I was reading about this here: http://us3.php.net/manual/en/features.file-upload.php

It says:

<quote>
But you should add MAX_FILE_SIZE anyway as it saves users the trouble to wait for a big file being transferred only to find out that it was too big afterwards.
</quote>


So, I decided to add
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
to my form.

It didn't seem to do anything. Is the browser supposed to use this to throw a browser-genrated error to me, or something?

I think the intent is that the browser would catch files that are too large before they actually have to be uploaded. I don't know that any browsers actually support this, though.


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to