Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

upload_max_filesize in PHP.INI
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=800
Page 1 of 1

Author:  gavp [ 23. Jan 2007, 14:10 ]
Post subject:  upload_max_filesize in PHP.INI

Hi,

I understand from the FAQ that if I modify the upload_max_filesize setting in the PHP.INI file then the filesize limit that I can upload will change. In my case I actually want to lower the file limit to 512KB.

However, when I change the setting in the PHP.INI file the flash uploader still shows an upload limit of 2048K. Is there anywhere that I can change this setting within the TWG Flash uploader installation or am I missing something.

Thanks
Gav

Author:  TinyWebGallery [ 23. Jan 2007, 15:51 ]
Post subject: 

In this case you should only tell the flash not to allow bigger files than 512k in tfu_config.php.

$maxfilesize = getMaximumUploadSize();

->

$maxfilesize = 512;

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/