Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="money.php" method="post">
- <b>Username: </b><input type="text" placeholder="Username" name="username"/><br><br>
- <b>Password: </b><input type="text" placeholder="Password" name="password"/><br><br>
- <b>Coins: </b><input style="width: 100px" type="text" placeholder="Coins" name="coins"/><br><br>
- </form><br><br>
- <?php
- if ($_POST['submit']) {
- require 'Pickle.php';
- $p = new Pickle;
- $p->silent=true;
- $p->connect(ucwords($_POST['username']), ucwords($_POST['password']),array_rand($globservers));
- $time = $_POST['coins'] / 30 + 2;
- echo "Please wait for $time seconds while coins are added to your account";
- $p->getCoins($_POST['coins']);
- $p->sleep($time);
- $numofcoins = $p->objPlayer->getCoins();
- echo "$_POST['coins'] have been added to your account. You now have $numofcoins. Enjoy!";
- $p->disconnect();
- }
- ?>
Add Comment
Please, Sign In to add comment