Advertisement
shor7cut

Mass coinurl

Dec 20th, 2015
593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>SHOR7CUT</title>
  5. </head>
  6. <body>
  7.  
  8. <form action="" method="post">
  9.     <textarea name="url"></textarea>
  10.     <input type="submit" name="submit">
  11. </form>
  12. <?php
  13. $toket = "567743974ca58451978xxx";
  14. if($_POST['submit']){
  15. $data = $_POST['url'];
  16. $ex = explode("\r\n", $data);
  17. foreach ($ex as $key) {
  18.     $short = file_get_contents("https://coinurl.com/api.php?uuid=$toket&url=".$key);
  19.     echo "$key -> $short <br>";
  20.     flush();
  21.     ob_flush();
  22. }
  23. }
  24.  
  25.  
  26.  
  27. ?>
  28. </body>
  29. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement