XMLobj.send() to php and save it into mysql

my flash movie generates an xml object that wants to be saved in a database. - from where it can be recalled and read back into flash.

to send the XMLobject to php seems XMLobj.send(“url”); to be the most suitable method. as mentioned in the “xml from flash” tutorial by senocular http://www.kirupa.com/developer/actionscript/xmlfromflash.htm

what would follow on the server side would be a script that receives the xml object as it is and saves it into mysql.

unfortunately i don’t know too much about php and couldn’t find an answer in the forum. did i miss something? or how could such a script look like?

in most tutorials it is explained how to handle xmlnodes in php but not how to save the entire xml document… maybe the solution is so simple?

gracias in advance +:rd:

can anyone give me a hint?

is my question

[ ] too weird, i didn’ understand it

[ ] quite difficult ey

[ ] so dull and easy i don’t even want to reply

please choose + cross the appropriate

merci mes amis

:egg:

hm + m

would packing the entire xml string into one variable and sending it to a php script do the j.o.b?

can one trick around like that?

plis lemme know or no

sir . up + o

why would you want to save the xml object as it is? wouldn’t the best way be to parse it out using PHP and save it into mysql. If you want to reconstruct the xml object there are php functions that can help you do just that.

I think the point of xml is to be used as a data structure for the transaction only. That is, the data exists as something on the server and maybe something differently on the client, but you can make the data xml for the journey between the server and the client.

is this making sense or am i way off?

hola ahmonra_ i guess you are perfectly right, xml is used to structure data transactions_ i am using it to produce frame by frame animations in flash. so it describes where which object has to go etc. it seems xml is very handy for that. however saving such a xml-movie-description doesn’t need to be taken apart on the server_ will probably only lead to a longer access time.

i’ll try to send the entire xml as one single variable to php soon. will let you know if i got it to work_ thanks for your reply

ciao