Leonardo França writes; Zend AMF is an implementation done in PHP to work with the communication protocol binary AMF (Action Message Format) and is part of ZendFramework. I had to implement a system to upload files that were a little different than what is typically used in Flash, with this feature had to be integrated into the Zend AMF.
Researching a little on the net, found a solution that was simpler than I thought based on that article with a few adjustments.
Begin with our gateway to be used as endpoint in Adobe Flex.
< ?php
require_once 'Zend/Amf/Server.php';
require_once 'Zend/Amf/Exception.php';
require_once 'br/com/leonardofranca/vo/FileVO.php';
require_once 'br/com/leonardofranca/UploadZendAMF.php';
$server = new Zend_Amf_Server();
$server->setProduction(false);
$server->setClass('UploadZendAMF');
$server->setClassMap('FileVO',"br.com.leonardofranca.vo.FileVO");
echo($server->handle());
?>
Read more at; File uploads with Adobe Flex and Zend AMF – Workflow: Flash.