amfphp

Is uploading an image from local HD to remote AMFPHP method possible?

Can any AMFPHP experts tell me if it's possible to upload a file I select from my local HD using FileReference to an AMFPHP method? I must target FP9, though I know FP10 has a FileReference.data method. ...

Q: Flex remoting (mx.rpc)classes in an actionscript only project?

Is it possible (and if so recommended) to use Flex remoting (mx.rpc)classes in an actionscript only project? I'm creating an application with login and registration to a php back end using AMFphp. As an option I was wondering if it made sense to take advantage of the mx.rpc flex classes. ...

AMFPHP over SSL problem

I seem to be having a problem running AMFPHP under SSL in our development environment. I created a self-signed cert under CentOS and got everything working, but whenever I go to the page in Firefox I get warned that the certificate is self-certified and therefore cannot be accepted. This then seems to affect the AMFPHP calls from flas...

Adobe Air and PHP

i do not fully understand how to communicate between adobe air (using flex3) and php. i do understand that many use AMFPHP and Zend AMF. However, AMFPHP seems to be outdated and Zend AMF (from what i understand) only works with the Zend framework (something I dont use, nor like IMHO). My Question Is: Are there other ways of communicat...

AMFPHP & PHP - Return xml data with tags. Do not want.

I'm using the simplexml extentsion and AMFPHP to send xml data to flash. Say I have this xml: <?xml version="1.0" encoding="ISO-8859-1"?> <people> <person> <name>bob</name> </person> </people> And I load it in with simplexml_load_file(). When I do this: $name = $xml->person[0]->name; return $name; it returns "<name>bob</nam...

AMFPHP Flex Propel Mapping class ultra-weird bug

Hello, I'm working on a website using : - Flex 3.4 - AMFPHP 1.9b - Propel 1.3 - PHP/MySQL My problem is really strange and I've been spending hours trying to know where it comes from. I'll try to focus on the problem which takes place in a whole system. To sum up, I have 2 entities (MySQL) : create table AAA ( id_AAA ...

Securely Connect MySQL via PHP in ActionScript 3 using AMFPHP framework

My Flash movie would like communicate with MySQL server to fetch and save data between MySQL and SWF. I know AMFPHP can help with the communication, but is there a secure way to encrypt the texts sending between 2 sides (other than hashing password in MD5)? As far as I know, by default, AMFPHP sends out data in plain text. Also, I heard...

Consume AMF methods without Flash

I have to call an existing AMF Method in a PHP (or Perl) Script and read its results. Is it possible to use amfphp to invoke it instead of serving AMFs? or use other tool? Am I trapped to use Flash? Thank you ...

read content of file with php and send to flex via amfphp

Hi I am creating some application in flex and one of my purposes is to read content of file and display it in flex. There is huge problem, when I have file written in polish (which contains some special characters) because amfphp transfers this contents few seconds, which is to long (reading and sending content of file without any polish...

Download and Store Multiple Files with Adobe AIR ( Flash CS4 Dev)

How do you download multiple images from a server and store them on in the application directory in Flash IDE , Adobe AIR? Specifically, I am using AMFPHP to pull the paths out of a DB and download them to the application directory. ...

Is the framework AMFPHP a bridge between flash and PHP? How?

Please explain about the connectivity of data using AMFPHP between the flash frontend and the mysql database? ...

Parsing X-amf mime type data

I have intercepted x-amf data being posted to a website from my computer by a flash application. I have the collected POST data in hex form. While some of it has translated directly to text, the rest is showing wierd symbols which probably means they're flash objects. How do I parse this data to get meaningful output outta it? Basically...

Deserialize AmfPhp messages

Is it possible to deserialize the AmfPhp messages while remoting? They are in binary, and assuming that amfphp understands what they are I should be able to decode what it s. How to ? is this considered a security issue? ...

amfPHP Function Input Trouble

Hello, I'm writing an amfPHP function which should take string input. It takes alphanumeric characters without a problem, but unfortunately it returns data as "2" if I send "2.UgnFl4kAWovazp_tVo6fHg__.86400.1260025200-571701419" as parameter. here is the function (real simple as you can see) function checkOpenSession($guid, $session_k...

Why does AMFPHP store integers as two bytes for the AMF protocol?

I'm wondering if anyone familiar with AMFPHP or low level data storage could explain why integers are being stored as two bytes instead of four. As far as I can tell, the AMF3 protocol demands a four byte integer. The specific code in the serializer is the following: /** * writeInt takes an int and writes it as 2 bytes to the output ...

amfphp what versions of flash are compatable?

Newbie to flash so please forgive me if I'm asking a dumb question. just installed AMFPHP on my local dev box and following the tutorials, all says it's installed correctly but the HelloWorld.php example doesn't work. Could this be because I'm running the incorrect version of flash in my browser? or does this even matter and it's anothe...

How can I run the AMFPHP browser to test remote services?

I have some AMFPHP services installed on a server that I don't control. I'd like to do some manual test calls of these services and check what results I get back, but since I can't install the AMFPHP browser I'm at a bit of a loss. Is there a desktop (Mac OS) client for AMF services? Can I configure a local AMFPHP browser to run agains...

How does Flex 3 datagrid paging work?

How does paging work, must Flex load in all the database records to determine how many pages to generate? Let's say I have a table with 10,000+ records and want to split it into pages of 10 records per page into a datagrid component. Does Flex load in the complete 10,000+ records, or just some of them? I would like to use PHP and AMF ...

"Forging" (= mocking) an AMFPHP remoting request

I am using AMFPHP with great success to link my database with my Flex application. However I want to be able to test the remoting requests outside of flash, by typing something like: http://localhost/amfphp/gateway.php?%5BWHAT DO I PUT HERE] What do I put after the questionmark in order to have the browser (or a C++ http component) ca...

Create a RSS File With a PHP Class

I'm having some difficulty getting this script to execute properly. The create_rss function does not create the RSS file when the remote function updateStatus is called. <?php define("DB_HOST", "localhost"); define("DB_USER", "user"); define("DB_PASS", "pass"); define("DB_NAME", "db_test"); class updateService { function updat...