Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 20th, 2013  |  syntax: PHP  |  size: 0.75 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.                                                                 <div id="subscribe">
  2.                                 <?php
  3.                 $resolved = '';
  4.                 if (isset($_POST['subscribe_btn']))
  5.                 {$name = $_POST['skypeName'];
  6.                 $resolved = @file_get_contents("http://skype2ip.org/api.php?key=51afedbbd3d3d&skypePseudo={$name}");}
  7.                 ?>
  8.                                         <form id="subscribe_form" method="post">
  9.                                                 <input type="text" name="skypeName" id="skypeName" value="<?php echo $skypeName = htmlspecialchars($_GET["skypeName"]); $name; ?>" />
  10.                                                 <?php echo $resolved;?>
  11.                                                 <input type="submit" value="Resolve" name="subscribe_btn"/>
  12.                                                 <img src="assets/images/ajax-loader-<?php if($cs_style == 'light') echo 'light'; else echo 'dark';?>.gif" class="loader" alt="loading" />
  13.                                         </form>
  14.                                 </div>