ofi
July 22, 2004, 7:35pm
1
Hi
I have uploded the files, but i am not sure how to make it work.
http://www.koddinn.com/xml_guestbook/
I have read thru this http://www.kirupa.com/web/xml_guestbook2.htm
without of luck, i am new in this flash, can someone help here, am i doing something wrong ??
system
July 23, 2004, 4:26pm
2
You’ve uploaded the FLA but not the HTML and SWF files, so first publish your movie and upload those.
Then make sure that the permissions on the XML file are sety properly so it can be written to.
Hope that helps.
system
July 23, 2004, 9:41pm
3
Hi
I have publish this now, but when i write in the book, it wont show.
http://www.koddinn.com/xml_guestbook/guestbook.html
The permission on the XML file is CHMOD 777
Has i forgot something?
If you look at the third page of the tut you’ll see that the XML file you start with should look like this:
<?xml version="1.0"?>
<guestbook>
</guestbook>
yours seems to be totally empty.
ofi
July 25, 2004, 12:50pm
5
Hi
now it work fine, just one thing, does everyone who write the book have to refresh to see the message, does it not autorefresh or…
thx
if you click on “Add a message” you should see your message directly without having to refresh the page.
ofi
July 25, 2004, 6:55pm
7
it dont do that, i have to refresh the page to see the message,
test it
http://www.koddinn.com/xml_guestbook/guestbook.html
I see.
you didn’t by any chance make any changes to the AS or PHP?
ofi
July 25, 2004, 9:26pm
9
I uploaded the orginal php file
<?php
$file = fopen(“guestbook.xml”, “w+”) or die(“Can’t open XML file”);
$xmlString = $HTTP_RAW_POST_DATA;
if(!fwrite($file, $xmlString)){
print “Error writing to XML-file”;
}
print $xmlString."
";
fclose($file);
?>
seems to be working now
thx for this great script