I'm playing with the ZMF component and I have the following controller:
<?php
class ProblemsController extends Zend_Controller_Action
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
$server = new Zend_Amf_Server();
$server->setClass('ProblemsController');
$response = $server->handle();
echo $response;
}
public function test()
{
return array( 1, 2, 3, 4, 5);
}
}
When I go to:
domain.com/problems
I get prompted to download problems (see link below):
http://i44.tinypic.com/w9afif.jpg
Do I need to adjust apache or something else, or will flash understand.
In a 1.6 tutorial I watched the video showed that when you hit that
page it should say something like Zend AMF Server Endpoint
TIA, Mark