SHARE
TWEET

Untitled

a guest Sep 18th, 2019 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $today = date("Y-m-d H:i:s");
  3. $TextData= $today." - New Connect : ".$_SERVER['REMOTE_ADDR']."\r\n";
  4.  
  5.  
  6. if(!empty($_POST['userNo']))
  7. {
  8.     $TextData .= "Buying  ".$_POST['itemId']." x".$_POST['itemCnt']." at ".$_POST['itemUnitPrice']."$ - ".$_POST['charId']." - ".$_POST['userId'];
  9.     echo'
  10.    {
  11.    "result":"success",
  12.    "message":"",
  13.    "userNo": '.$_POST['userNo'].',
  14.    "realCash": 100000000,
  15.    "bonusCash": 0,
  16.    "chargedCashAmt": 1,
  17.    "itemInfos":
  18.        {
  19.            "chargeNo":"a123"
  20.        }
  21.    }';
  22. }
  23. else
  24. {
  25.     echo'
  26.        {
  27.        "result":"error"
  28.        }';
  29. }
  30.  
  31.  
  32.  
  33.    
  34. $TextData .= "\r\n---------------------------------\r\n";
  35.  
  36. $files = 'Beta-PaymentLog.txt';
  37. file_put_contents($files, $TextData, FILE_APPEND);
  38.  
  39.    
  40. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top