everyone. I'm trying to write a PHP script that reads and writes files from a secure directory. That is, a directory that users can't access. I put the "deny from all" in the .htaccess of said directory, and PHP scripts can read files from that directory without error. However, I cannot write files to that directory. I get a Permission Denied error when I try to use fopen with the "w" option.
Does anyone know how to fix this?