RE: [PHP] File Upload Size Limit Problem
| From: | Jeff Oien | Date: | Sun, 11 Mar 2001 04:24:18 +0000 |
| Subject: | RE: [PHP] File Upload Size Limit Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43369@lists.php.net to get a copy of this message | ||
> ""Jeff Oien"" <jeff@webdesigns1.com> wrote in message
> news:NDBBJKNCILKDCEGAJBAOCEHJDGAA.jeff@webdesigns1.com...
> > I've modified a script for uploading multiple files
> > and am trying to get it to produce an error if the
> > size of the file is larger than 2 MB but can't get it
> > to work. Here is the code in question with the
> > who code below. When I try to upload a 3 MB
> > file it doesn't produce an error. Everything else works
> > fine.
>
> You need to edit your php.ini
> Read your php.ini and look for upload_max_filesize.
>
> Regards,
> --
> Yasuo Ohgaki
I know my max_file_size 2 MB.
I want to prevent a user from trying to upload a file that
is larger than 3 MB.
Jeff Oien