Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
396 B
7
Indexable
<?php
$username = 'akib007-cc-AU';
$password = 'Akibkhan007';
$proxy = 'pr.oxylabs.io:7777';
$query = curl_init('https://ip.oxylabs.io');
curl_setopt($query, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($query, CURLOPT_PROXY, "http://$proxy");
curl_setopt($query, CURLOPT_PROXYUSERPWD, "customer-$username:$password");
$output = curl_exec($query);
curl_close($query);
if ($output)
    echo $output;
?>