AlexaMP

Free Proxy List (Version 1.00.1)

Jul 22nd, 2018
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.97 KB | None | 0 0
  1. <?php
  2.  
  3. // Free Proxt
  4. // For Checker, Bot Visitor, and other Curl
  5. // Created by AlexaMP
  6. // Thanks For Support Us
  7. // I Will Update on My Pastebin https://pastebin.com/u/AlexaMP
  8.  
  9.  
  10.  
  11.  
  12. // Important
  13. // This Script using Free API From GetProxyList.com
  14. // This is Using Legal API and Free For All
  15. // Happy Curl ^_^
  16.  
  17.  
  18. ###### Do Not Editing #######
  19. $c = curl_init();
  20. curl_setopt($c, CURLOPT_URL, 'https://api.getproxylist.com/proxy');
  21. curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
  22. curl_setopt($c, CURLOPT_SSL_VERIFYHOST, false);
  23. curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);
  24. curl_setopt($c, CURLOPT_FOLLOWLOCATION,true);
  25. ####### Thanks to not editing  ######
  26. $cekme = curl_exec($c); //Get Data
  27. $result = json_decode($cekme,true); //Extract Data
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34. ####### RESULT ########
  35. $ip = $result['ip'];
  36. $port = $result['port'];
  37. ####### END ###########
  38.  
  39. //How to view result via web ?
  40. //add code => echo "$ip:$port";
  41.  
  42. curl_close($c); //Close Curl Connection
  43. ?>
Add Comment
Please, Sign In to add comment