SHARE
TWEET

Api Proxy doada

a guest Jun 16th, 2019 197 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $username = 'dudumaia';
  3. $password = 'srarrow';
  4. $proxy = 'br.smartproxy.com:10000';
  5. $target = curl_init('http://ip.smartproxy.com/');
  6. curl_setopt($target, CURLOPT_RETURNTRANSFER, 1);
  7. curl_setopt($target, CURLOPT_PROXY, $proxy);
  8. curl_setopt($target, CURLOPT_PROXYUSERPWD, "$username:$password");
  9. $result = curl_exec($target);
  10. curl_close($target);
  11. if ($result)
  12. echo $result;
  13. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top