View Full Version : PHP and file permissions
Ryuuguu
01-17-2000, 06:46 PM
in CNC there is a note that for PHP to write to a file I need to set the permissions 777. This implies that a PHP script witch has to write to file totaly unsecure. Is this correct?
I wanted to use a PHP wiki wiki server but both of them write to files, either plain txt of DBM files.
Grant
Justin
01-18-2000, 01:49 AM
Files that need to be writable by PHP need to be writable by Apache - 666 will work (no need to make a file executable unless it should be).
For security, make sure any files that are writable by others are outside of your /www/ directory. Note that nobody else can access your directory structure...
a PHP wiki wiki server Huh?[nbsp][nbsp]Out of curiosity, what is that?
------------------
Justin Nelson
FutureQuest Support
Ryuuguu
01-18-2000, 02:34 AM
Thanks I'll try 666 outside of www.
from WikiWikiWeb.
WikiWikiWeb is a collaboration tool originally created by the folks at http://c2.com . It allows easy edits and creation of web
pages without knowlege of html.
I have found Wiki usefull for documentation, project management, and discussion. It tends to be a very dynamic and has a high content ratio.
usually every page ends with an edit and search link/button
Grant
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.