Hi,
OK, here's the problem...
My host account is on linux and I want to write a file.
Purpose of the file:
The file is a weekly report uploaded by a small number of users (who log on to the wesite, not the server) through forms with a heading and different topics. I'm using the content of the forms and uploaded images to write a php file that can be viewed by others (e.g report17-01-08.php). I'm doing this to format the file with html tags, etc.
Problem:
The web server (apache) as other, can't write a file without permissions to do so. I don't want to give other full rights to a folder. I persume I shouldn't for security reasons, or am I being too paranoid for one folder?
Possible solution:
1) Give other permission to create and write to a file on one folder (and sub folders)
2) Put the small number of users in a group and give them permission. I presume I would have to log them on to the server ( aswell as website, name and passwords in a database) but I'm not sure how !?!! 😕
Any suggestions ?