XML - PHP - uploadTool for CMS

hi!
I’m looking about a good tutorial for:

adding/modifying/remoming XML nodes, items, attributes on the server with PHP and Flash

and also for a tut about:

uploading files on server, creating, removing folders and subfolders, preferable in flash…or html if not possible

Quite hard to find.
Anybody experience with this matter?

Rgds