Hi,
I am facing an error while using cURL.
$webservice_url = "
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/business/rss.xml";
curl_setopt( $ch, CURLOPT_URL, $webservice_url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt( $ch, CURLOPT_TIMEOUT,15);
curl_setopt( $ch, CURLOPT_PORT, 80);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
We are working from an intranet that is behind a firewall.
we tried using the proxy that is used in our intranet
curl_setopt($ch, CURLOPT_PROXY, '192.168.21.5:80');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'webuser

***');
but still it is saying
7, couldn't connect to host
Any help would be greatly appreciated.