开发者

Problem in sending XML with flash

开发者 https://www.devze.com 2023-02-19 05:04 出处:网络
I want to send xml data to php page my xml in flash is that for examle: <level id=\"1\" mark=\"10\"><page id=\"12\">HI..</page></level>

I want to send xml data to php page

my xml in flash is that for examle:

<level id="1" mark="10"><page id="12">HI..</page></level>

i send it,but at the URL i see this:

../inex.php?xml=<level id=1 mark=10><page id=12>HI..</page></level>

without double qout....!!!!

so i can't read this开发者_开发问答 xml with simplexml_load_file() function in php

what's wrong???!!!


You should serialize and escape your xml object otherwise you won't be able to send it to php.

Check out serialization for AS3 and php.

Cheers, Rob

0

精彩评论

暂无评论...
验证码 换一张
取 消