Guest User

Untitled

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