View Full Version : receiving POST data from PHP (point me in the right direction)
nikefido
01-17-2008, 05:33 PM
Hi - I have seen a few examples (and done myself) examples of sending POST data from Flash to a PHP file, but I was wondering if there was a way for flash to load POST data/variables ? (specifically, i'd like to pass an array from php to flash - if not an array, then XML).
Can anyone point me in the right direction to get a start?
Thanks.
nikefido
01-17-2008, 06:14 PM
i have a feeling im doomed to putting an multi-dim array into an xml format :(
can i get suggestions for that?
CyanBlue
01-17-2008, 07:06 PM
I believe Flash only accepts GET data or sort... You can use Flash Remoting to get the PHP array into the Flash if you want to get away from parsing the XML document... ;)
nikefido
01-17-2008, 08:48 PM
I believe Flash only accepts GET data or sort... You can use Flash Remoting to get the PHP array into the Flash if you want to get away from parsing the XML document... ;)
hmmm got amfphp, but for as3 it's only partially done (no example for passing arrays yet :( )
I'll keep messing with the remoting idea, seems kinda cool (potentially).
The XML idea will work, working on figuring out the looping through the multi-dim array i created in php to store file directory info - and creating an XML string :(
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.