Re: uploaded fiel size limitiation
| From: | Jochem Maas | Date: | Fri, 12 Jan 2007 00:13:48 +0000 |
| Subject: | Re: uploaded fiel size limitiation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246956@lists.php.net to get a copy of this message | ||
afan@afan.net wrote:
> Hi,
> I have a little script that was working fine when uploaded files up tp 16MB.
> I moved to other hosting company and use the same form/script. Not, I
> can't upload eitherr 2MB file.
>
> Where to look for limitation first?
>
> According to phpinfo() post_max_size in php.ini is 8M.
memory_limit, post_max_size and upload_max_filesize.
the third one is biting you AFAICT. note that upload_max_filesize should be
set somewhat smaller than post_max_size because a file upload forms *part*
of the total data posted.
(someone please correct me if I've been living under an incorrect assumption)
> Thanks.
>
> -afan
>