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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

    how to change the upload maximum file size in this script.
    current maximum file size size is 512 kb.

    Thank you
    Attached Files

    #2
    I see in class upload
    PHP Code:
     $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!

    Comment


      #3
      in the original script, there is
      echo "*1 photo size limit 512kb. If your upload does not work, try a smaller Photo.<br/>";

      host limit is 1024mb

      Comment


        #4
        PHP Code:
        switch($last) {
                    case 
        'g':
                        
        $val *= 1024;
                    case 
        'm':
                        
        $val *= 1024;
                    case 
        'k':
                        
        $val *= 1024;
                }
                
        $this->file_max_size $val
        1024kb = 1mb
        change them
        Last edited by Framework; 10.11.11, 05:30.

        Comment

        Working...
        X