Edit textfiles from flash via PHP :)

Hello! I have a problem today, and that is making an update tool for my clients. It´s soppose to update a flash site built by loading text files into dynamic textfields… Now I want to make a update tool that edits textfiles on the ftp.

I have found what I think would be a part of the solution ,and that includes PHP.

http://www.kirupa.com/developer/acti…_php_email.htm

Maybe it can be modified to edit a text document…

I wish…

Would LOVE some help, really think this will gain every webdesigner!