GurdeepS
GurdeepS

Reputation: 67273

Using httpservice to call a PHP function which takes parameters

If you look at the link below, there is some PHP code called by Flex mxml through HttpService. The PHP code has functions, but the mxml code doesn't call a specific function. How can I use httpservice to call a specific function (in my case, one which takes parameters)?

http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_2.html

Thanks

Upvotes: 1

Views: 2408

Answers (1)

Simon
Simon

Reputation: 80879

I think you may be looking for RPC rather than HTTP calls. The example you linked to uses an HTTPService. Take a look at RemoteObject with PHP. I suspect you are going to have to get into some layer on the server which handles AMF. Here's an article.

Upvotes: 1

Related Questions