• Resolved thecoopersmith

    (@thecoopersmith)


    I have a form that allows user to upload 4 files in a single form. The form is working when I use very small files, but I need to Increase the File Size Max Limit. I would like to allow each file uploaded to Max at 3MB. I tried…

    [file browse_1 class:file-input-area filetypes:pdf|jpg|gif|png|zip|rar limit:3mb]

    [file browse_2 class:file-input-area filetypes:pdf|jpg|gif|png|zip|rar limit:3mb]

    as suggested in other forums, but the form just acted like it was loading (spinning) for 30 mins or so. Is this wrong or do I need to do something else too?

    Any help would be greatly appreciated! Thx

    https://www.ads-software.com/extend/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter thecoopersmith

    (@thecoopersmith)

    I figured it out. Had to add code to php.ini file as well as change it for me to php5.ini

    In addition to what was already php5.ini, I added:

    post_max_size = 25M
    default_mimetype = "text/html"
    default_charset = "UTF-8"
    file_uploads = On
    upload_max_filesize = 25M
    allow_url_fopen = On
    user_agent="PHP"
    default_socket_timeout = 60

    Not sure if it was all needed, but it was in the example I found, which I don’t have the link to for some reason. Sorry about that.

    Files uploaded and I received in my Gmail right away! Success!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Contact Form 7] Setting Upload Size Limit for Multiple File Upload Fields’ is closed to new replies.