Thanks for help Glen :)
Well, as far as i understand, SabreAMF_ArrayCollection is used to
create an array so you'll be able to send it back to the client,
I need to exact opposite thing, im sending an array from the client to
the server, but i cant use it as is, it seems that i need to use a
function that will make it usable in the PHP side.
Cheers,
Adir.
On Dec 1, 2008, at 1:15 AM, Glen Pike wrote:
From the SabreAMF docs -
http://code.google.com/p/sabreamf/wiki/FlexArrayCollection
SabreAMF_ArrayCollections uses PHP's ArrayObject class to store its
data.
Not familiar with PHP's ArrayObject, but guessing there are some
useful examples online:
http://uk2.php.net/manual/en/class.arrayobject.php
Glen
Adir Iakya wrote:
Hi All,
I'm having a problem sending arrays or objects from FLEX3 to the
server side (my system is working, i got the gateway running ok,
and it calls to the right methods).
Sending from the PHP side to client is working cool (I'm using
SabreAMF_ArrayCollection for that, works like charm).
Now lets say i want to send this to the server:
var names : Array = new Array( "Ana", "Kate", "John" );
and to foreach it. which SabreAMF function help me to do that?
Same question about objects, i know how to send it to the server,
but i don't know how to parse/decode/whatever it on the PHP side so
i can use it.
If anyone can paste an example, that would be awesome :-)
Thnx,
AI
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
Glen Pike
01326 218440
www.glenpike.co.uk
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org