Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. <?php
  2. error_reporting(E_ALL);
  3. $sn = $_POST['serial'];
  4. $url = "https://www.deblocgsm.net/ret/service.php?type=thebookyard&code=$sn";
  5. $ch = curl_init();
  6. curl_setopt($ch, CURLOPT_URL, $url);
  7. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  8. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  9. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  10. $res = curl_exec($ch);
  11. echo $res;
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement