Flex: Send XML content with HTML entities to PHP via POST

AcidoX

New Member
I developed a desktop AIR application which saves data locally as XML files.When the user clicks a button, the xml content is posted to a PHP application, where data is handled (inserted or updated).The problem is, when I post some data containing html entities like & or >, the xml content is not parsed.I'm using php xml_parser to convert the xml to array.This is the input:\[code\]<companie_ps> <denCompanie>Company & Friends</denCompanie> <email>[email protected]</email></companie_ps>\[/code\]This is the wanted result:\[code\]Array( [0] => Array ( [denCompanie] => Company & Friends => [email protected] ))\[/code\]This is the actual result:\[code\]Array( [0] => Array ( [denCompanie] => Array ( [@content] => Company ) ))\[/code\]
 
Back
Top