Hello
I have 2 IPs from my linux VPS, I turned the ips into proxies using Squid.
I tried the proxies on my browser and they work great.
But, when I run this code with my proxy info:
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, '[login to view URL]');
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($ch, CURLOPT_PROXY, '[login to view URL]');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'username:password');
$data = curl_exec($ch);
curl_close($ch);
echo $data
?>
I get a blank page. :/
I need cURL expert to solve this problem.
You can do this very fast.