On the PHP server, how does one receive the json data sent from the mobile client? on the PHP server, how does one receive the json data sent from the mobile client? ------ Solution ------------------ $ linkfopen (& quot; php: input & quot;, r); open the php input stream, all the data submitted to this file can be used here to obtain the json data written by $ jsonfread PHP on the server. how can I receive the json data from the mobile client?
On the PHP server, how does one receive json data from the mobile client?
------ Solution --------------------
$ Link = fopen ("php: // input", 'r ');
Open the php input stream. all data submitted to this file can be obtained using this
$ Json = fread ($ link, 10000 );
Read the opened input stream. a maximum of 10000 bytes can be read.
The official manual is in English, find a Chinese interpretation of http://www.perfgeeks.com /? P = 150