Advertisement
Guest User

Untitled

a guest
Feb 12th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4.  
  5.  
  6.  
  7. $result = json_decode($_POST['string'],true);
  8.  
  9. // var_dump($result);
  10.  
  11.  
  12. echo "Username ".$result['username'];
  13. echo " ";
  14. echo "Password ".$result['password'];
  15.  
  16. echo "[{username : ".$result['username']."},{password : ".$result['password']."}]";
  17.  
  18.  
  19.  
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement