▄▄             ▄▄▄  ▄▄▄ Power
█  █ ▄▄▄▄ ▄▄▄▄▄ █  █ █  █
█▄▄█ █▄▄▄ █ █ █ █▀▀▄ █▀▀▄
█  █ ▄▄▄█ █ █ █ █▄▄▀ █▄▄▀

Login
Register
/ ad amd64 api asm asmbb best bugs chat common debian deck design dll docker email embed fast feature files fossil fresh.ide friendly gamedev heap help hiawatha incredible interop learning libfresh limit links linux meme meta.http-equiv money mysql neo nginx numbers orly os outage pass password programmers programming proile resources safety script.alert.xss secret seo skins sodom source sourcecode subforum support tags test type work xss игнат котики парола русский тест уеб.програмиране хабр.наполеон
Categories Thread list

how can i set upload limits and file types for uploads.

how can i set upload limits and file types for uploads.

ufuk

how can i set upload limits and file types for uploads.

You can't set the file types. Everything can be attached. The file size limit is in the parameter max_attachment_size in the database. The default value is 1MB.

Insert it for the first time by: insert into params values ('max_attachment_size', 1234567);

And change it by: update params set val = 1234567 where id = 'max_attachment_size';

This parameter is not inserted by default.

johnfound
ufuk

how can i set upload limits and file types for uploads.

You can't set the file types. Everything can be attached. The file size limit is in the parameter max_attachment_size in the database. The default value is 1MB.

Insert it for the first time by: insert into params values ('max_attachment_size', 1234567);

And change it by: update params set val = 1234567 where id = 'max_attachment_size';

This parameter is not inserted by default.

i made but already i get this error 413 Request Entity Too Large

johnfound
ufuk

how can i set upload limits and file types for uploads.

You can't set the file types. Everything can be attached. The file size limit is in the parameter max_attachment_size in the database. The default value is 1MB.

Insert it for the first time by: insert into params values ('max_attachment_size', 1234567);

And change it by: update params set val = 1234567 where id = 'max_attachment_size';

This parameter is not inserted by default.

what is 1234567? is limit ? example 20, for 20mb.

What limit you set? Please, explain in more details. I can't read your mind actually.

johnfound

What limit you set? Please, explain in more details. I can't read your mind actually.

i runned this for 20 MB.

update params set val = 20 where id = 'max_attachment_size';

ufuk
johnfound

What limit you set? Please, explain in more details. I can't read your mind actually.

i runned this for 20 MB.

update params set val = 20 where id = 'max_attachment_size';

You simply set the limit to 20 bytes.

20MB = 20*1024*1024 = 20971520 bytes.

Categories Thread list

how can i set upload limits and file types for uploads.

AsmBB v2.4 (check-in: 7bb3292ed42db7ca); SQLite v3.25.3 (check-in: 89e099fbe5e13c33);

©2016..2018 John Found; Licensed under EUPL.
Powered by Assembly language
Created with Fresh IDE

Icons are made by Egor Rumyantsev, vaadin and icomoon from www.flaticon.com