--- In [email protected], "christophevond" <[EMAIL PROTECTED]>
wrote:
>
> Maybe I should have specified this before, but I am limited to using
> an apache server, so can flex possible export to xml and read that in
> with php or some alternative like that? I have read something about
> using the php variable $HTTP_RAW_POST_DATA but I am not really sure
> how that comes together. Thanks.
>

You have a number of options in this case:

- You could use an HTTPService within Flex and send (using GET or
POST) a comma-delimited list representing your array. On PHP's end,
you could use the built in array functions to turn that
comma-delimited list back in to an array.

- AMFPHP is designed to allow a translation between native data types
in Flex and PHP. You can install AMFPHP in a directory on your web
site (quite simple to setup) and create functions that act as services
to send/receive information to/from Flex. This way, you can create an
array in Flex, and send it to your PHP backend without worrying about
anything complicated in between.

- WebORB for PHP is similar to AMFPHP in the sense that you can
translate native data types between languages. The key difference with
WebORB and AMFPHP as far as I know (I have only used it once thus far)
is that WebORB only deals with RemoteObjects (as opposed to a
NetConnection).

Keep in mind all 3 solutions will work with your current Apache setup
(provided you have the proper privileges on your hosting provider).

Cheers, best of luck.

Brian




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to