Advertisement
Guest User

Untitled

a guest
May 12th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. header('Content-type: aplication/json');
  2.  
  3. $json = json_decode(file_get_contents("php://input"),true);
  4.  
  5. $send = array("data" => $json["senddata"]);
  6. echo json_encode($send);
  7. die();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement