Tìm kiếm trên Nosomovo

How to receive post data from mobile aplication in php?

rest_api_to_database_connections

In php, to receive data post from mobile application we use this code below:

$data=file_get_contents("php://input"); //receive data and set it to data varible
$array_data=json_decode($data); //convert data from json type to array type

Nosomovo

Thẻ:
Chia sẻ:
Zalo Gọi ngay