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:
It dies everytime... because the proxy server won't let it out. How can I configure this to work with my proxy server??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 $!;
Thanks for any help!
![]()




Reply With Quote