zantafio
03-19-2004, 10:49 AM
Hi,
I have a question concerning the way data/strings are encoded and transmitted within the Flash xml object:
the project that i'm working with is completely dynamic based on a xml-file.
the xml contains everything from x/y positions to html-encoded text for the textfields.
I would like to use the <![cdata[]]> tag with the html-text so nothing gets lost or confused within the xml. now how can i accomplish this without the <![cdata[]]> tag getting unicode encoded too ?
also i use the following php script to write the xml:
<?php
$post=$HTTP_RAW_POST_DATA;
$fp = fopen("../xml/data.xml","w");
fwrite ($fp, $post);
fclose($fp);
echo($post);
?>
but the server where i have to upload this project does not support the $HTTP_RAW_POST_DATA variable...
what option should i use to send the xml without this variable ?
tia
I have a question concerning the way data/strings are encoded and transmitted within the Flash xml object:
the project that i'm working with is completely dynamic based on a xml-file.
the xml contains everything from x/y positions to html-encoded text for the textfields.
I would like to use the <![cdata[]]> tag with the html-text so nothing gets lost or confused within the xml. now how can i accomplish this without the <![cdata[]]> tag getting unicode encoded too ?
also i use the following php script to write the xml:
<?php
$post=$HTTP_RAW_POST_DATA;
$fp = fopen("../xml/data.xml","w");
fwrite ($fp, $post);
fclose($fp);
echo($post);
?>
but the server where i have to upload this project does not support the $HTTP_RAW_POST_DATA variable...
what option should i use to send the xml without this variable ?
tia