We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39706
    • 34 Posts
    I can not figure out how to get the FormIt is loaded exe files. In all settings, specify the format of a valid, but the hook if the extension = exe, $ _FILES array goes blank. In this case the image is loaded properly
      • 22019
      • 390 Posts
      You want to allow .EXE files to be uploaded using FormIt?

      You will need to allow that extension as a permissible file type in System Settings. The key you want is

      upload_files
        Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
        • 39706
        • 34 Posts
        But I have already done so, see screenshot
          • 39706
          • 34 Posts
          Maybe this will help: modX revo 2.2.2, formit 2.0.3
            • 22019
            • 390 Posts
            Trivial point, but it's usually case sensitive, so you'll want exe and EXE.

            Also check that the max-upload setting on both PHP and in MODX allow files of the size you want uploaded.

            I can't remember doing this with FormIt, but you could maybe try FileUploader instead:
            http://modx.com/extras/package/fileupload2
              Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86