71
Macromedia Flash XML Tutorial / Re: save.php source code not available for download.
« Last post by viulian on February 24, 2007, 12:55:51 pm »Thanks for the kind words
I've pasted the code below. It is minimalistic so it can be easily adapted to any use..
I'll also update the webpage now..
I've pasted the code below. It is minimalistic so it can be easily adapted to any use..
Code: [Select]
<?php
//Capture data from $_POST array
$myxml = $GLOBALS['HTTP_RAW_POST_DATA'];
//Make one big string in a format Flash understand
//Open a file in write mode
$fp = fopen("value.xml", "w");
$ok = fwrite($fp, $myxml);
fclose($fp);
if ($ok)
header('Location:http://hex.ro/files/flashxml/Display.html');
else
echo "writing=Error&";
?>
I'll also update the webpage now..