Jump to content

Recommended Posts

  • Moderators
Posted

Hey Guys,

I have a question when it comes to developing an ACARS Software. How should I send the data and receive back from the php file. I seen posts about ACARS development that I should send the data and receive the data in complete XML.

Should I do this way or is there a better way than XML?

Thanks!

Cheers!

Posted

You would send data to the php file in POST variables...

I don't know what language you're using but I expect there isn't a decent way to decode JSON (but it's super easy to encode in php) - so XML :/

Posted

Oh ok, I would use JSON then - it's super easy to encode in php from an array:

echo json_encode($array_of_things);

and you can use this to decode it in your application.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...