This is cool.
Thanks Hans,
I put this on ISP server space ( public_html) in a directory. The myFiles directory remains 0755 , even when I change it it reverts back. But it does seem to work with now problem.
Three things.
1,I am curious though is there any risks having a writable php and what not on the server and is there anything I need to do to make sure I stay secure.
2, I assume the 0755 is so the world can access the folder and in the case of a directory execute means open.
3, How do you read the file back?
By the way I will be nominating this as a Tips and Tricks of the Month. August 2015