Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

[RELEASE] Skype Resolver <Retrieve from API Script> [RELEASE]

I just took this off my boot.php and decided to give it out because it's simple but effective, so enjoy.
Simply once you've inputted the skype you want to resolve, after editing the code with your API, once you hit the resolve button it echo's the IP retrieved from your API.

PHP Code

<?php

if(!empty($_REQUEST['resolveBtn']) && $_REQUEST['resolveBtn'] == 'Resolve'){
    
$skypeName = trim($_REQUEST['skype']);

    if(!empty(
$skypeName)){
  
// Connect to API an get Skype info.
  // I'm not sure what this code would look like, it depends on the API
  // For example
  
$skypeInfo = file_get_contents('http://Skyperesolver/resolver.php?key=YOURKEY&name=' . $skypeName);
    }
}

if(!isset(
$skypeInfo)){
    
$skypeInfo = '';
}

?>
PHP Code

<?php 
<input name="skype" value="<?php echo $skypeInfo;?>" type="text" class="input-large" id="input01"> 
Thanks for the script. 😈
...
Good release.

I've seen quite a few though lately, especially regarding APIs.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by KillSwitch⌥Sep 16, 2021 07:26 AM 9 240 Sep 16, 2021 07:26 AM
Last Post: KillSwitch⌥
[PHP] by deadsh0tMay 3, 2018 03:00 AM 3 133 May 3, 2018 03:00 AM
Last Post: deadsh0t
[PHP] by Joshuaharry1066Sep 22, 2017 07:26 PM 2 228 Sep 22, 2017 07:26 PM
Last Post: RumbleFrog