Controller

Skype Resolver Script PHP [WITH API]

Dec 6th, 2012
10,613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.72 KB | None | 0 0
  1. Skype Resolver Script PHP [WITH API]
  2.  
  3. --------------------------------------------------------------------
  4.  
  5. <center>
  6. <form method='post' action=''>
  7. Username: <input name='user' type='text' id='user' size='30' maxlength='30' />
  8.  
  9. <input type='submit'  name='submit' value='Grab!' />
  10. </form>
  11. </center>
  12. <center>
  13. <?php
  14.  
  15. $page = file_get_contents('http://gwap.kodingen.com/skype/grab.php?username='.$_POST["user"].'&method=1');
  16. $strp1 = str_replace('(old - resolve failed)', '(User is offline.  IP of last login)', $page);
  17. $strp2 = str_replace('(current)', '(User is online.  Current IP)', $strp1);
  18. $strp3 = str_replace('?username=', '', $strp2);
  19. $strp = str_replace(',', '<br />', $strp3);
  20. echo $strp;
  21.  
  22. ?>
  23. </center>
Advertisement
Add Comment
Please, Sign In to add comment