Limit File Size on File Upload

Permalink Browser Info Environment

How do we limit the maximum file size to 2mb on file upload using ProForms?


Type: Pre-Sale
Status: In Progress
View Replies:
datasouth replied on at Permalink Reply
Apologies, what I meant is how do we add validation to limit the file size being uploaded to 2mb.


concrete5 Environment Information

# concrete5 Version

# concrete5 Packages
Accommodations (0.0.1), Attendees (0.0.1), Automatic Email Obfuscator (1.2.3), Catalyst Network Booking (0.1.2), Catastats (0.0.2), Churches (0.0.1), CSV displayer (1.2), Easy Tables (2.0.1), Eventmailer (0.0.1), Extreme Clean (1.0), Flatstrap Theme (2.3.0), Free Cookies Disclosure (1.0.3), Helpdesk (, Internationalization (1.3), Mailing List (2.54), Manualbookings (0.0.1), Multi Theme (0.9.27), Orbital Slider (1.0.5), Orbit Image Slider (1.4), PHP block by ND (1.0), Pro Blog (12.4.4), Pro Forms (7.6.2), ProForms Payment Manager (0.0.1), Register User Pro (1.3.16), Teams (0.0.1), Tickets (0.0.1), VR Tabs Lite (0.9.8).

# concrete5 Overrides
blocks/html, blocks/orbital_slider, blocks/problog_list, blocks/user_blog_list, controllers/login-old.php, controllers/login.php, controllers/register.php, elements/profile, jobs/parse_unreviewed_servers.php, css/page_types, models/attribute, single_pages/profile, themes/catalyst13, themes/catalyst2015, themes/catalystfest13, tools/db_check.php, tools/php_info.php

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache/2.2.31 (Unix) mod_wsgi/3.5 Python/2.7.12 PHP/5.6.25 mod_ssl/2.2.31 OpenSSL/1.0.2h DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0

# Server API

# PHP Version

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.