Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. $hash = "98C5C361D0BE5F2A07EA8FA5052E5AA48097E7F6";
  2.  
  3. if(!function_exists("curl_init")) die("cURL extension is not installed");
  4. $url = "http://bitsnoop.com/api/trackers.php?hash=" . $hash . "&json=1";
  5. echo $url;
  6. $ch=curl_init($url);
  7. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  8. $r=curl_exec($ch);
  9. curl_close($ch);
  10.  
  11. $myarr = json_decode($r,true);
  12. print_r($myarr);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement