<?php
$json_string = $_POST["txt_json"];
if(ini_get("magic_quotes_gpc")=="
{
$json_string=stripslashes($json_string);
}
$user = json_decode($json_string);
echo var_dump($user);
?>
在 這個文件中
From:http://tw.wingwit.com/Article/program/PHP/201311/20883.html