I have just spent the last 2 hours sorting through the forums here trying to find an answer to my problem. I am good with Flash, but new to PHP, but was able to get a PHP/XML based Message Board put together for my page (which is Flash-based).
I have tried this out several times locally on my machine and through IIS and it works GREAT!! However, now that I have it uploaded here...there seems to be an issue with it. It never seems to load the XML file, which I am guessing is due to a problem with the PhP. The message board (in Flash) should pass elements/Nodes to the XML to add message entries...here on the site...it does not do that.
Here is my PhP Code...
<?php
$xmlString = $HTTP_RAW_POST_DATA;
if (is_null($xmlString)) {
print "No data was sent";
}
else {
$file = fopen("guestbook.xml", "w+") or die("Can't open XML file");
if(!fwrite($file, $xmlString)){
print "Error writing to XML-file";
}
print $xmlString."\n";
fclose($file);
}
?>
And here is the very simple (starter) XML file...
<?xml version="1.0" encoding="utf-8"?>
<guestbook>
</guestbook>
You can check out the message board on my page to see what it is doing...errrr...not doing.
http://soulecho.110mb.comThanks for any help you can give...