On the use of JSON to implement the value-to-PHP system between Java and the problem!
I now have a question like this:
First of all, I can implement the following step, that is, the Java program to my PHP page request, I use Json_encode to return the data to the Java program side
And now the following step I do not know how to achieve, do not know the mechanism in the inside how to achieve?!!
Is the Java program to my PHP page to send JSON packets, then I should use PHP what function or a custom method to get the Java program sent over the JSON packet? Is it okay to use request?
As long as I know how to get it, then I know how to explain its JSON packet ~ ~
Ask the Master ~ ~ Grateful to come ~
Small I score is not many, this can give as much as possible ~ ~
Share to:
------Solution--------------------
Java you do not directly post get past it? what function is used?
------Solution--------------------
Ajax.
------Solution--------------------
You java post come over PHP without any data that is not post success, follow the data to see where the error.
Ajax is also used to post or get.
------Solution--------------------
Reference:
I now have a problem:
First of all, I can implement the following step, that is, the Java program to my PHP page request, I use Json_encode to return the data to the Java program side
And now the following step I do not know how to achieve, do not know the mechanism in the inside how to achieve?!!
Is the Java program to my PHP page to send JSON packets, then I should use PHP what function or a custom method to get the Java program sent over the JSON packet? With re ...
PHP Json_encode and Json_decode and Java is not interoperable, it is recommended to use a string to pass the way, so that both PHP and Java can be handled correctly