Hi, I currenltly have a plain text file, which uses a .php extension which contains email addresses.
Of course I don't want these email addresses to be viewable by the general public at all, but I DO however, need another PHP script to be able to read/write to this file. I also need to be able to download this file from time to time via FTP, for editing.
What is the correct chmod to do this??
Basically, web users should get a HTTP error (or something) if they try to browse directly to it. But via FTP I should be able to download it, and my PHP script should be able to edit it.
I know some of you might say "put it outside the web root", but thats not an option in this case.