Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (isset($_POST['tes'])) {
- $memberid = "PS--84"; // your api key
- $sign = "3---5"; // your order id
- $postdata = "memberID=$memberid&sign=$sign";
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "103.20.191.50:8099/balance");
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- $chresult = curl_exec($ch);
- echo $chresult;
- }
- ?>
- <hr>
- <br>
- Username nya : <?php echo $a; ?><br>
- Saldo nya : <?php echo $b; ?><br>
- Status Sekarang : <?php echo $c; ?><br>
- <form class="form-horizontal" method="POST">
- Untuk mendapatkan Note, silahkan klik <button type="submit" class="btn btn-default waves-effect waves-light" name="tes"><i class="icon-refresh"></i>Ulangi</button><br />
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement