how to change the upload maximum file siz in this script.

Started on the old forum in November 2011 · view the original in the archive · old links redirect here

3 replies · 402 views · started 15 years ago · 1 min read

3 participants
morency Senior · 488 posts #2

I see in class upload

 $val = trim(ini_get('upload_max_filesize'));
$this->file_max_size = $val;  

So I think is your server upload limit

Unamos los corazones,hoy todos somos multicolores!

Framework Newbie · 3 posts #4
switch($last) {
            case 'g':
                $val *= 1024;
            case 'm':
                $val *= 1024;
            case 'k':
                $val *= 1024;
        }
        $this->file_max_size = $val;   

1024kb = 1mb change them

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close