Increase max attachments' dimension... is it possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi to all,
I would like to increase max attachments dimension. There is a way to do this?
I found this piece of code in compose.php

        /* This code is for attachments */
        if ((bool) ini_get('file_uploads')) {
   
            /* Calculate the max size for an uploaded file.
             * This is advisory for the user because we can't actually prevent
             * people to upload too large files. */
            $sizes = array();
            /* php.ini vars which influence the max for uploads */ù
            //**********************************************************************************************   
            $configvars = array('post_max_size', 'memory_limit', 'upload_max_filesize');
            //**********************************************************************************************
            foreach($configvars as $var) {
                /* skip 0 or empty values, and -1 which means 'unlimited' */
                if( $size = getByteSize(ini_get($var)) ) {
                    if ( $size != '-1' ) {
                        $sizes[] = $size;
                    }
                }
            }
        ...............................
        }

I think I should modify the values of

 - post_max_size
 - memory_limit
 - upload_max_filesize

Where can I found this variables? In which files?

Thanks a lot
Francesca
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux