Save XML to file

Hi I want to save my XML-instance from Flash with PHP.

I know the Flash part. Need help on PHP.

/Martin

I believe you need to install a PHP Class on your server for being able to read/edit XML files :frowning: I tried before and eveywhere I went said that… so you either have to have direct access to your server to install it, or have your host install it (if they will).

Unless there is another way (I would like to hear that), then you can’t.

If i have that class then?

And it would also be a way to save the XML as a txt-file… in the namne file.xml.

How do i save the XML-instance to file?

If you have that PHP Class, then I don’t know, I haven’t gotten that far :stuck_out_tongue: I am not very good at PHP.

Perhaps someone else can help you there.

As for writing it to a .txt file I would assume it works the same as writing anything else to a .txt file, using fopen and fclose. I am not expert there either, sorry :-\ :frowning: