Re: Can't write to file via php, just via ftp...Can anyonehelp?

From: Date: Tue, 31 Jul 2001 06:17:29 +0000
Subject: Re: Can't write to file via php, just via ftp...Can anyonehelp?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-60339@lists.php.net to get a copy of this message
>in interarchy, after you have uploaded the file, select the file and choose >"Set Permissions..." from the Listing diresctory. then make sure the box for >group write is checked. If you can do that, you can *PROBABLY* make it "world-writeable" WARNING -- DANGER -- WARNING Either of these suggestions is *EXTREMELY* dangerous!!! In *NEITHER* case should the file in question be placed in your web-tree -- Put it in a sub-directory of your home directory. In *BOTH* these cases, you are *INVITING* disaster from any other user on your server who feels like writing *ANYTHING* they desire into your file, *UNLESS* you are running under SAFE_MODE and have the directory/user containing the file in your php.ini as the whatsit that lets you, and only you, alter the file. Re-read http://php.net security page for details about SAFE MODE and the setting I'm drawing a blank on for php.ini -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#60339) next »