brian wrote:
Jeff Cohan wrote:
It seems that the server had to know the size of the file in order
to know it exceeded MAX_FILE_SIZE. So how can my script find out the
size?
Not at all. The user-agent is built to ignore files that exceed the
MAX_FILE_SIZE value.
Ack! I meant, "The user-agent *should be* built to ignore ..."
ie. MAX_FILE_SIZE is generally a client-side tool (and thus not to be
relied upon too much) but will be honoured by PHP as well (if it does
not exceed post_max_size in php.ini).
brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php