Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="index.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>
- <input type="submit" name="submit">
- </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 '.round($time).' seconds while '. $_POST['coins'].' coins are added to your account.<br>';
- $p->getCoins($_POST['coins']);
- sleep(round($time));
- $numofcoins = $p->objPlayer->getCoins();
- echo $_POST['coins'].' have been added to your account. You now have '.$numofcoins.' coins. Enjoy!';
- $p->disconnect();
- }
- ?>
Add Comment
Please, Sign In to add comment