jani

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
Dec 4, 2013 at 2:12 am
#10243
Member
jani
OP

Sorry, my last post was a bit confusing ..

the variable “show_counter” is initially always set to 0, regardless what you choose … not the actual number of downloads .. 🙂

Nov 29, 2013 at 9:17 pm
#10156
Member
jani
OP

Hello again 🙂
i kind of noticed, that nevertheless what you choose as “show counter” it will always be 0.


if($_POST['wpdmtask']=='create'){
extract($_POST);

$file['show_counter'] = 0;

Suggestion (something like this, i am not so much into php…)

$file['show_counter'] = $file['show_counter']?$file['show_counter']:0;;

Nov 29, 2013 at 7:00 pm
#10152
Member
jani
OP

The file mentioned is zipped, its 8MB if you decompress it.

EDIT: Solved it myself, the manager uses the media uploader, there is a restriction of 8MB in my case.

php.ini
post_max_size = 8M
upload_max_filesize = 20M

Viewing 3 posts - 1 through 3 (of 3 total)