Page 1 of 1

Upload pdf problem

Posted: Fri 24. Mar 2006, 12:32
by culda_a
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?

Posted: Fri 24. Mar 2006, 14:00
by Klappstuhl28
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

conf.inc.php

Posted: Tue 16. May 2006, 17:33
by Ren.Hoek
Hi,

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) 
Original value is 2 MB, you've guessed it :wink:
So if you like 15MB then calculate 15*1024*1024=15728640.

Bye! Ren Höek