[Wolves] is there any way to write to a file without chmod 777
djones9960 at gmail.com
Wed Sep 26 13:50:40 BST 2007
On 26/09/2007, Philip Harper <ph004h7245 at blueyonder.co.uk> wrote:
> I think I better explain it more clearly, it's an online site editor I'm
> creating, the user simply selects a page they want to edit in a list,
> the page is loaded into FCKeditor, and then they just click on "Save"
> and the page is saved, without them having to mess around with file
> permissions or FTP!
PHP has FTP functionality, could you not use that? (That is change
permissions - write modified file - change permissions back to
something more sensible)
You'd need the user to enter his/her website username/password of course.
Horrible way of doing it I know but I can't think of anything else.
More information about the Wolves