ajax e dom
This commit is contained in:
16
ajax2_json.php
Normal file
16
ajax2_json.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by xgiovio.
|
||||
* User: Giovanni
|
||||
* Date: 05/12/2014
|
||||
* Time: 13:36
|
||||
*/
|
||||
|
||||
$json = file_get_contents('php://input');
|
||||
if ($json){
|
||||
|
||||
print_r(json_decode($json));
|
||||
|
||||
}else
|
||||
echo "No data yet";
|
||||
?>
|
||||
Reference in New Issue
Block a user