Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Free Proxt
- // For Checker, Bot Visitor, and other Curl
- // Created by AlexaMP
- // Thanks For Support Us
- // I Will Update on My Pastebin https://pastebin.com/u/AlexaMP
- // Important
- // This Script using Free API From GetProxyList.com
- // This is Using Legal API and Free For All
- // Happy Curl ^_^
- ###### Do Not Editing #######
- $c = curl_init();
- curl_setopt($c, CURLOPT_URL, 'https://api.getproxylist.com/proxy');
- curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($c, CURLOPT_SSL_VERIFYHOST, false);
- curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($c, CURLOPT_FOLLOWLOCATION,true);
- ####### Thanks to not editing ######
- $cekme = curl_exec($c); //Get Data
- $result = json_decode($cekme,true); //Extract Data
- ####### RESULT ########
- $ip = $result['ip'];
- $port = $result['port'];
- ####### END ###########
- //How to view result via web ?
- //add code => echo "$ip:$port";
- curl_close($c); //Close Curl Connection
- ?>
Add Comment
Please, Sign In to add comment