Answers for "safe way to pass a json string to a php script"

PHP
1

how to receive json data in php

$data = json_decode(file_get_contents('php://input'), true);
print_r($data);
echo $data;
Posted by: Guest on November-01-2020

Code answers related to "safe way to pass a json string to a php script"

Browse Popular Code Answers by Language