The data will not write to the JSON file.
I followed the manual, some forum posts etc. Running this from my server, shouldnt be a cross-domain issue as best I can tell.
Here is a link to my capX
http://jackrdavis.com/phpTest2/phpTest2.capx
Your link doesn't work but I guessed at phpTest2.capx.
You want to set the data to "key=value" so it would be something like:
Data: "plantData="&URLEncode(plantData.AsJSON)
Then in PHP you can access $_POST["plantData"].
Develop games in your browser. Powerful, performant & highly capable.
ramones Thanks for pointing that out! Fixed the link.
Ok, so I need a script on the server to process it. Sounds good. Time to do some reading.