I have a CGI script that contacts another website to retrieve some information. I have now moved my website internally instead of on a virtual host. I am running Apache web server 1.3 and have EVERYTHING working except this one part of the script, because we use a proxy server here and it is blocking the script from contacting the other site. Here is the code:

Code:
$port = 80;
$remote = "www.anothersite.com";
$iaddr = inet_aton($remote);
$paddr = sockaddr_in($port,$iaddr);
$function = "GET";	#Type of HTTP 

connect(S,$paddr) or die $!;
It dies everytime... because the proxy server won't let it out. How can I configure this to work with my proxy server??

Thanks for any help!