How to make an swf file that edits external text files, in your hard disk

i know that this will require a back-end script, maybe php.
can somebody please help me…