PDA

View Full Version : amfphp tutorial problem - can read but can't write


dougsha
02-22-2006, 04:18 AM
I can't get the tutorial's bulletinboard sample code to work. It reads from http://www.amfphp.org/amfphp/gateway.php just fine. I can page through all the messages. But I can't post new messages.

The Netconnection Debugger (details below) helpfully tells me the doPost call returns "fail".

I can write new messages on the Flash bb imbedded in the tutorial page.

In the Flash Player Settings Manager Global Security Settings I added a path to the swf file in the "Always trust files in these locations" list.

I am obviously overlooking some security setting. Help would be much appreciated.

-------------

DebugId: "0"
EventType: "Call"
MethodName: "BulletinBoard.doPost"
MovieUrl: "file:///C<blah blah>/sample code/BulletinBoard-flash8.swf"
Protocol: "http"
Source: "Client"
Time: 1140584600487
Date (object #1)
....."Tue Feb 21 23:03:20 GMT-0600 2006"
Parameters (object #2)
.....[0] (object #3)
..........email: "@"
..........message: "yo"
..........name: "me"
..........theurl: "http://"

DebugId: "0"
EventType: "Result"
MovieUrl: "file:///C<blah blah>/sample code/BulletinBoard-flash8.swf"
Protocol: "http"
Source: "Client"
Time: 1140584601034
Date (object #1)
....."Tue Feb 21 23:03:21 GMT-0600 2006"
Result (object #2)
.....status: "fail"