Re: max file size on uploading files
| From: | Ernest E Vogelsinger | Date: | Wed, 27 Nov 2002 18:44:08 +0000 |
| Subject: | Re: max file size on uploading files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126329@lists.php.net to get a copy of this message | ||
At 19:02 27.11.2002, Nick Wilson spoke out and said:
--------------------[snip]--------------------
>Hi all,
>
>I must be missunderstanding something here, I have this in an php 'upload
>form':
>
><input type="hidden" name="MAX_FILE_SIZE"
>value="1000000000">
>
>So why won't it upload a 1.5MB file?
--------------------[snip]--------------------
I can just guess here... you've got 1 billion in max_file_size, maybe this
is way too big for the browser's (integer?) math? Does it upload without
max_file_size? Did you try setting max_file_size to 1572864 (which is
exactly 1.5 MB)?
I found no mention of problems _refusing_ upload (except size exceeds, of
course) in the online manual. I only found that browsers can be directrd to
easily circumvent the limit (save html locally, edit form action to point
to your server, edit max_file_size, and there you go...)
Try the above hints and tell us about the outcome.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/