Communication between PHP and Android

0

I have a PHP application used this commands:

ini_set("allow_url_fopen", true);
$json = file_get_contents('php://input');

Because the data is sent by the Android system.

What is sent to PHP is a JSON, after receiving a parse and valid the json information

I would like to know if this is the best way to receive the data, what kind of security can I implement?

    
asked by anonymous 30.04.2015 / 18:12

0 answers