Guest User

Untitled

a guest
Dec 3rd, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.82 KB | None | 0 0
  1. <form action="money.php" method="post">
  2. <b>Username: </b><input type="text" placeholder="Username" name="username"/><br><br>
  3. <b>Password: </b><input type="text" placeholder="Password" name="password"/><br><br>
  4. <b>Coins: </b><input style="width: 100px" type="text" placeholder="Coins" name="coins"/><br><br>
  5. </form><br><br>
  6.  
  7. <?php
  8. if ($_POST['submit']) {
  9. require 'Pickle.php';
  10. $p = new Pickle;
  11. $p->silent=true;
  12. $p->connect(ucwords($_POST['username']), ucwords($_POST['password']),array_rand($globservers));
  13. $time = $_POST['coins'] / 30 + 2;
  14. echo "Please wait for $time seconds while coins are added to your account";
  15. $p->getCoins($_POST['coins']);
  16. $p->sleep($time);
  17. $numofcoins = $p->objPlayer->getCoins();
  18. echo "$_POST['coins'] have been added to your account. You now have $numofcoins. Enjoy!";
  19. $p->disconnect();
  20. }
  21. ?>
Add Comment
Please, Sign In to add comment