Appnitro Software Forums » MachForm 2

Upload a File doesn't work


  1. ruslan
    Member

    Hello, I am using MachForm and I made a form. I put the "upload a file" in there.

    Once I test out the form, every field works and the results come to my email, BUT the upload a file doesn't work. I mean I uploaded the file while completeing the rest of the form, then I submitted, then results come to my email. But the upload a file field is totally not there.

    Am I missing something? To make the file upload work, do I have to configure anything additionally? Plz help

    thanks

    Posted 2 years ago #
  2. ruslan
    Member

    Also I forgot to ask, where do I set the Max File size (upload file size limit) and the acceptable file types?

    Posted 2 years ago #
  3. Nitro
    Member

    I don't work here, but make sure your /data directory is set to 777, as if I'm not mistaken, that's where the files get uploaded to.

    Also, you can have your server tech set the Max File Size limit, or I think there's an htaccess override for this.

    Posted 2 years ago #
  4. Hi Ruslan,

    Is your PHP running under Safe Mode?
    If so, you will need to turn it off.

    Contact your host tech support or modify your php.ini to do this. The max file size can be set from php.ini as well, while the file type can be set from your config.php file.


    MachForm Founder

    Posted 2 years ago #
  5. ruslan
    Member

    Hey never mind I figured it out. I just set the /data directory permissions to 777. And it works. However does anyone know how to make MULTIPLE file uploads? Like a button, upload MORE files?

    Posted 2 years ago #
  6. ruslan
    Member

    yuniar can you describe in more detail how to edit the php.ini file? I know where it's located at but I can't see what to modify.

    Posted 2 years ago #

RSS feed for this topic

Reply