Upload pdf problem
Upload pdf problem
I try to upload a pdf file but it say that the file is biger then 2 MB... How can I set a biger limit for file uploading?
- Klappstuhl28
- Posts: 833
- Joined: Fri 4. Mar 2005, 01:58
- Location: Hamburg
- Contact:
What says that this file is bigger than: ...
Just place the pdf-file by a ftp to any-folder you want to and mark the link to that pdf-file with
a relative path and that should be the solution. It can be that your
provider has a maximum-size-limit. But 2MB shouldn´t be a problem.
Lars
Just place the pdf-file by a ftp to any-folder you want to and mark the link to that pdf-file with
a relative path and that should be the solution. It can be that your
provider has a maximum-size-limit. But 2MB shouldn´t be a problem.
Lars
Lars
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
conf.inc.php
Hi,
in conf.inc.php there is a line where you can set max. filesize to be handled by the system.
Original value is 2 MB, you've guessed it
So if you like 15MB then calculate 15*1024*1024=15728640.
Bye! Ren Höek
in conf.inc.php there is a line where you can set max. filesize to be handled by the system.
Code: Select all
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
So if you like 15MB then calculate 15*1024*1024=15728640.
Bye! Ren Höek