We are in the process of switching servers (from Unix to Linux) and I installed the scripts to our new server and I kept getting the following error:
Ok, everything is fine.. generating form...
Warning: fopen("forms/form1.html", "w") - Permission denied in /home/mrregist/public_html/php3form/process3.php3 on line 416
cannot create file
I tried it several times and got the same errors. So on a hunch I uploaded them on our Unix server and it worked great!
Any ideas what is wrong?
Thanks a lot...
Doug
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure it works on linux. the error you mentioned means that you don't have write permissions on that directory. Just give write permissions to the forms directory, and everything should work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
We are in the process of switching servers (from Unix to Linux) and I installed the scripts to our new server and I kept getting the following error:
Ok, everything is fine.. generating form...
Warning: fopen("forms/form1.html", "w") - Permission denied in /home/mrregist/public_html/php3form/process3.php3 on line 416
cannot create file
I tried it several times and got the same errors. So on a hunch I uploaded them on our Unix server and it worked great!
Any ideas what is wrong?
Thanks a lot...
Doug
Hey Doug,
Sure it works on linux. the error you mentioned means that you don't have write permissions on that directory. Just give write permissions to the forms directory, and everything should work.