When I change an attribute via flash through PHP with the code:
<?php
$filename = “readwrite/news.xml”;
$raw_xml = file_get_contents(“php://input”);
print $raw_xml;
$fp = fopen($filename, “w”);
fwrite($fp, $raw_xml);
fclose($fp);
?>
The newly produced XML file is something like this (all on 1 line):
<?xml version=“1.0” encoding=“utf-8” ?><Events><Event DateOf="[D…
When I do a reformat of the xml (in frontpage) I can read the content of the xml file again in flash. But not when its a 1 line xml file…
What part did I not read… a flash part of a php part, and how to solve this phenomenon???
Thanks for your reply.
Frederik.