upload not working when form moved from /use directory?
The upload works fine from the /use folder on the website, but when I copy and rename the form and it's folder contents to the /www directory everything works except for no file is uploaded even though the email shows a link to the uploaded file.
I have 3 different forms so not sure how to have 3 process.php files withoult putting them in their own folders with the other files.
so I have to edit the form field to point to the proper process.php but the upload is not getting uploaded.
What am I missing?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The move will not work if the folder permissions are not the same, or if there is another method of folder protection applied (.htaccess file).
Each form calls process.php from the form1.html file. If you want multiple forms in the same location you will have to rename the process.php files (process1.php, process2.php, etc). You will then have to modify each form1.html file or whatever there names are to reflect the new associated process#.php file name. You will also have to consider the Admin function. If you still want to use the Admin for each form you will have to do similar modifications to keep each Admin separate from the others.
It is easiest to keep forms separate, but it's not impossible to do what you are suggesting.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have tried to move just the form to my www folder and have it point to the process.php in the /use/formname folder and have changed the permission on the moved form to 777 but the uploads are still not showing? everything else works??? any ideas?
Thanks,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
upload not working when form moved from /use directory?
The upload works fine from the /use folder on the website, but when I copy and rename the form and it's folder contents to the /www directory everything works except for no file is uploaded even though the email shows a link to the uploaded file.
I have 3 different forms so not sure how to have 3 process.php files withoult putting them in their own folders with the other files.
so I have to edit the form field to point to the proper process.php but the upload is not getting uploaded.
What am I missing?
The move will not work if the folder permissions are not the same, or if there is another method of folder protection applied (.htaccess file).
Each form calls process.php from the form1.html file. If you want multiple forms in the same location you will have to rename the process.php files (process1.php, process2.php, etc). You will then have to modify each form1.html file or whatever there names are to reflect the new associated process#.php file name. You will also have to consider the Admin function. If you still want to use the Admin for each form you will have to do similar modifications to keep each Admin separate from the others.
It is easiest to keep forms separate, but it's not impossible to do what you are suggesting.
I have tried to move just the form to my www folder and have it point to the process.php in the /use/formname folder and have changed the permission on the moved form to 777 but the uploads are still not showing? everything else works??? any ideas?
Thanks,
Could this be a file ownership issue as I am unable to replace or delet the original forms on my server?
Thanks,