AMFPHP is a PHP open source library used to serialize/deserialize AMF packages. It allows remote invokation from Adobe Flex to PHP.
Questions tagged [amfphp]
209 questions
8
votes
12 answers
Best method for Flex to PHP communication?
What is the best method for communication between Flex and PHP?
In the past, we used AMFPHP with AS2, and it worked great for the most part (advantage of AMFPHP is that it also has a JSON mode that can let you seamlessly use the same remote PHP…

davr
- 18,877
- 17
- 76
- 99
6
votes
4 answers
Why does a closed NetConnection that has no event listeners or references stick around in memory?
It seems that if flash.net.NetConnection is instantiated and connected to an HTTP URL (such as an AMFPHP gateway), that instance is never picked up by garbage collection even after it has been closed and the only reference is set to null.
On the…

Marcela
- 3,728
- 1
- 15
- 21
5
votes
4 answers
PHP Max amount of inserts in one SQL query
I have a pretty simple question. I am inserting a lot of records at once in a MySQL table. It works for about 2000 records (actually a bit more). But say I want to insert 3000 records, than it doesn't do anything.
I'm working through AS3 sending an…

Sten Van den Bergh
- 1,565
- 2
- 13
- 20
4
votes
9 answers
What do you consider before refactoring code?
I've got an application that just shipped. Since I wrote it, I've learned about amfphp and propel. Both would be 'nice' to be used in the application but I can't say that it would be required at this point.
What types of things do you consider…

GeoffreyF67
- 11,061
- 11
- 46
- 56
3
votes
1 answer
Can I re-use a Actionscript 3 NetConnection?
this is probably a noob question, but since I am new to Flash and AS3, here it goes...
Can I somehow re-use a AS3 NetConnection?
I am trying to create a AMFPHP class, that handles the connection, so I can re-use that initial connection whenever I…

Odyss3us
- 6,457
- 18
- 74
- 112
3
votes
2 answers
How to use AMFPHP with Apache Royale
I have an issue on using SimpleRemoteObject. (sdk 0.9.6)
My actual website is using this code to call remote function with Amfphp :

Fred
- 399
- 3
- 12
3
votes
2 answers
How to disable CORS on Chrome when using visual studio code and using AMF on Apache Royale
As now my interest goes using Remote Object with Apache Royale to communicate with my server with Amfphp, I struggle with CORS.
My first attempt to use SimpleRemoteObject was an error like this :
Access to XMLHttpRequest at…

Fred
- 399
- 3
- 12
3
votes
4 answers
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…

Raptor
- 53,206
- 45
- 230
- 366
2
votes
4 answers
How to store a list of data (like an array) in mysql cell? (but have it still be searchable)
I'm new to mysql, so im probably just not aware of how to properly set something like this up.
Basically each row in my table is a different food. I have columns for basic things like description...
But, I have a "ingredients" array, and "how much"…

brybam
- 5,009
- 12
- 51
- 93
2
votes
5 answers
Is Flex ready for prime time?
I'm working on a project that currently has zero users but we would like to scale up to potentially hundreds. Currently we are running on a MySQL database with AMFPHP interacting with Flex. We used Flex because of its robust graphic features…

davearchie
- 317
- 2
- 9
2
votes
2 answers
Whats the simplest way to obscure or hide the paths being used in a PHP - AS3 project
I am working on a project that uses PHP , AS3, and AMFPHP .
The project allows users to upload and download images among other things. Since I am fairly new to PHP/FLash security I have been trying to gather as much info about making things as…

MW.
- 199
- 1
- 3
- 11
2
votes
2 answers
AMFPHP: Serializing Flash Objects over HTTP without the gateway
Flash + AMFPHP is a great combination. But there are cases, when Flash Remoting with NetConnection isn't the right tool, for various reasons. Rob had a great post on this some time ago: http://www.roboncode.com/articles/144
He also has a nice…

janpio
- 10,645
- 16
- 64
- 107
2
votes
4 answers
"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?[WHAT DO I PUT HERE]
What do…

Joshua
- 681
- 1
- 7
- 6
2
votes
1 answer
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…

Neil
- 3,100
- 5
- 29
- 36
2
votes
1 answer
Saving byteArray to BLOB on mySQL gets error 'You have an error in your SQL syntax'
I'm trying to save a byteArray of a jpg from an as3 project through amfphp to then use php/mySQL to save it to a BLOB on my database. Here's my php function
function saveImage($uid, $name, $tag1, $tag2, $tag3, $ba) {
$result =…

brybam
- 5,009
- 12
- 51
- 93