Originally Posted by raminia
Well done! Sorry that I was not helpful. I'm dead busy!
1) Why downloading them? Showing them online in an editable text area would be nice.
2) do users need to set chmod 777 to includes directory?
2) I'm not sure if you can save the files because they could be write protected (755 or 744).
My idee was to copy the file to the image directory (always 777), edit the file and save it.
1) After that you can do with the file whatever you want. Download it or showing online in an editable text area.
There is also a possibility to automatic delete the file after saving for safety reasons.