Upload pdf problem

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Upload pdf problem

Post 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?
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post 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
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 -
Ren.Hoek
Posts: 34
Joined: Thu 3. Mar 2005, 21:38
Location: Augsburg/Germany
Contact:

conf.inc.php

Post 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
Post Reply