Menu

File Upload

Help
pochon
2007-10-09
2013-06-03
  • pochon

    pochon - 2007-10-09

    I have a problem, when a file is uploaded I get this error "failed to open stream: Permission denied in ***/process.php on line 43". This is what I have in that line "copy($HTTP_POST_FILES['TestResults']['tmp_name'], "files/".$image_part);". I still get the email of the form data but the email says that the uploaded file is at "http://files/blah.txt" with no domain.

    Another thing, is there a way to password protect the form. Right now, anyone can just type the admin path in the browser and change whatever they want.

     
    • pochon

      pochon - 2007-10-09

      Another unrelated question. Once you have created a form, how can you edit it? (Like putting extra fields or options).

       
      • TNTEverett

        TNTEverett - 2007-10-10

        The permission denied error sounds like the folder permissions are not set right to allow file uploads. 
        Let us know what version of the generator you are using and check the folder permissions to see if they are correct. 

        Editing the form is not to difficult but requires some knowledge of html forms, and php.  The new version 3.0 available online at the moment does allow you to edit previously created forms.  It is completely different from the previous version though.  editing this version on your own is a bit more dificult. 

         
    • pochon

      pochon - 2007-10-10

      I used Fantastico to install the script. It installed Ver. 2.09c.

      What folder is it using to upload the files?

       
      • TNTEverett

        TNTEverett - 2007-10-10

        The formname/files folder at the same level as the admin folder is used to hold uploaded files.
        Version 2.09C has no option for auto loading an old form design for easy modification.  This is available in version 3.0 but 3.0 is still under development even though it has been made available online for people to use. 

         
    • pochon

      pochon - 2007-10-18

      I changed the permissions of the formname/files folder and not I am not getting any errors on submition. But still no file is being uploaded to the formname/files folder.

      And the email I receive still links to http://files/blah.txt. Shouldn't it be http://domain.com/formname/files/blah.txt?

       

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.