Menu

Upload-File Problem not MAX_FILE_SIZE

Help
tbluewater
2006-10-15
2013-06-03
  • tbluewater

    tbluewater - 2006-10-15

    Hello.  I've been using this nice script for several months.  I never had a problem until I used 'File Upload' field type for the first time in a new form.  The problem that I have is that the form that I've created only accepts a text file.  It doesn't accept any other file type.  For example, if I try to send 'graph.png (file size: 144 KB),' I get the following message:

    The following errors occured while processing your form input.
    The file, graph.png, was not uploaded!

    If I try to send a PDF file, I get the same message.  I read several old threads.  In one thread, a problem can occur because of the max file size.  I've set the value to 100000.  I still get the same error.  In case you want to see the form, it's located at

    http://mhouse-j.com/formmail/use/fileupload/form1.html

    By the way, the folder permissions for 'use' folder and the folder cotaining the form file (form1.html)' are both 755.

    If anybody has an idea as to how to fix the problem, please let me know.  Thank you,

    Tom Bluewater

     
    • Musawir Ali

      Musawir Ali - 2006-10-16

      your web hosting provider is blocking upload of other file types and large files it seems. contact them and ask what to do.

       
      • tbluewater

        tbluewater - 2006-10-16

        Okay.  Thanks.  I'll do that.

         
    • tbluewater

      tbluewater - 2006-10-18

      It has turned out that it was 'php.ini,' which I had to manipulate.  Now, the form works.

      Thanks a lot, musawir.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.