protocoles
Verified User
- Joined
- Mar 11, 2008
- Messages
- 22
Hello,
I had installed Proxy software (Squid) today and I've problem now.
When I'm using different IP to see how it works but It's only show the primary IP, I'm using curl.
The code I'm using are:
Any idea, how can squid read all my server IPs.
Thanks
I had installed Proxy software (Squid) today and I've problem now.
When I'm using different IP to see how it works but It's only show the primary IP, I'm using curl.
The code I'm using are:
Code:
$ch = curl_init();
curl_setopt($ch, CURLOPT_PROXY, "xxx.xxx.xxx.xxx:8080");
curl_setopt($ch, CURLOPT_URL,"http://myip.dk");
curl_setopt($ch, CURLOPT_REFERER, "");
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$html = curl_exec($ch);
curl_close ($ch);
print $html;
Any idea, how can squid read all my server IPs.
Thanks