I have a client web site that loads external text files for the descriptions/dates/titles, etc. of his photogalleries. I want to set up an html form that uses php to write a txt file so he can enter the info without having to worry about any of the formatting. The destination txt file may or may not already exist. I’ve gotten it to work but only if I set permissions on the destination directory to 777 and the txt file is already there.
Is there another way? Something about ownership? I can’t find any real explanation about ownership in this type situation.
Thanks,
-Joshua