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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
Another unrelated question. Once you have created a form, how can you edit it? (Like putting extra fields or options).
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.
I used Fantastico to install the script. It installed Ver. 2.09c.
What folder is it using to upload the files?
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.
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?