OK, here's the deal:
I have to make a small data base [basically just a xml file]. I decided to make a custom interface to insert the data. So I used PHP.
The problem I have is that I can only append the existing file if I have set it "read/write" to everyone. But that's not a good idea. Someone can just erase it for "fun".
if I use say: fopen("ftp://myname:mypass@myserver/Users/myname/Sites/data.xml", "w")
then it only works if the file doesn't exist, that is, I can write one single file. Besides, I need to use "a" so...
How can I do this?
How can i write to a file on my server? yet have it writable only for one user.
HELP
